Add GitHub Action to publish to PyPI on version changes#23
Merged
Conversation
This workflow: - Triggers on pushes to main - Checks if the version in setup.py has changed - If changed, builds and publishes to PyPI using API token - Creates a GitHub release with the version tag and auto-generated notes Requires PYPI_API_TOKEN secret to be configured in GitHub repository settings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Publish workflow now uses Python 3.11 - Pull request workflow tests against both Python 3.11 and PyPy 3.11 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Migrated from setup.py to pyproject.toml with uv - Set requires-python to >=3.10 - Updated workflows to use uv for building and publishing - Added flake8 and pytest as dev dependencies - Both workflows test CPython 3.10 and PyPy 3.10 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Switched from hatchling to setuptools as build backend - Properly configured package discovery for gtfs_loader directory - Fixed uv sync and build issues 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Added badges for PyPI, Python version, license, and build status - Expanded documentation with features, installation, and usage examples - Added development setup instructions using uv - Included project structure overview - Added contributing guidelines and maintainer information 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Development commands using uv - Architecture overview of core components - Data flow explanation - Key patterns for entity indexing and cross-references - Itinerary format support documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
jsteelz
approved these changes
Nov 4, 2025
README.md
Outdated
| # py-gtfs-loader | ||
|
|
||
| Simple python library to load GTFS folder | ||
| [](https://badge.fury.io/py/py-gtfs-loader) |
Member
Author
There was a problem hiding this comment.
This is an service for open source stuff to have badge on their readme pages, but seems this one is down right now 🙃
Member
There was a problem hiding this comment.
no wonder nothing showed up/worked at that subdomain when i checked it 😂
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR modernizes the project infrastructure and adds automated PyPI publishing:
Package Management & Build System
setup.pyto modernpyproject.tomlwith uv support.python-versionfile (3.10.19) for consistent development environmentsCI/CD & Automation
pyproject.tomlDocumentation
Maintainer Updates