Where all the models are stored 🚂
- Python 98%
- Mako 1%
- Dockerfile 0.9%
- Makefile 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Build / build (push) Successful in 15s
- Rename REGISTRY_USER to DEPLOY_USER and REGISTRY_TOKEN to DEPLOY_TOKEN to match the shared gtfs.zone credential naming |
||
| .forgejo/workflows | ||
| src/railroad_club | ||
| .gitignore | ||
| .mcp.json | ||
| .pre-commit-config.yaml | ||
| alembic.ini | ||
| CLAUDE.md | ||
| Dockerfile | ||
| LICENSE.txt | ||
| Makefile | ||
| pyproject.toml | ||
| README.md | ||
| uv.lock | ||
railroad-club
SQLModel ORM models and Alembic migrations for a GTFS transit feed management system.
Requirements
- Python 3.13+
- PostgreSQL
Installation
uv sync
Database Setup
DATABASE_URL="postgresql+asyncpg://user:pass@localhost/dbname" alembic upgrade head
Development
# Lint and format
ruff check . --fix
ruff format .
# Create a new migration after modifying models
DATABASE_URL="..." alembic revision --autogenerate -m "description"
# Commit (conventional commits enforced)
cz commit