Where all the models are stored 🚂
- Python 98.3%
- Mako 1.7%
| src/railroad_club | ||
| .pre-commit-config.yaml | ||
| alembic.ini | ||
| CLAUDE.md | ||
| LICENSE.txt | ||
| 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