Where all the models are stored 🚂
- Python 96.9%
- Mako 1.5%
- Dockerfile 1.4%
- Makefile 0.2%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| src/railroad_club | ||
| .copier-answers.yml | ||
| .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