Where all the models are stored 🚂
  • Python 98.3%
  • Mako 1.7%
Find a file
2026-03-10 15:02:56 +01:00
src/railroad_club refactor: move alemic into src 2026-03-10 04:21:21 +01:00
.pre-commit-config.yaml build: default pre-commit 2026-03-10 15:02:56 +01:00
alembic.ini refactor: move alemic into src 2026-03-10 04:21:21 +01:00
CLAUDE.md feat: initial commit 2026-03-10 04:01:31 +01:00
LICENSE.txt docs: add agpl-3 2026-03-10 14:44:48 +01:00
pyproject.toml refactor: move alemic into src 2026-03-10 04:21:21 +01:00
README.md feat: initial commit 2026-03-10 04:01:31 +01:00
uv.lock feat: initial commit 2026-03-10 04:01:31 +01:00

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