How robinpuelles/gtfs_project_v2 works
GTFS Transilien is a small Python library for loading GTFS tables and querying date-specific schedules and stop sequences for mapping. The typical workflow is to load feed files into a GTFSData object, then request stop or route schedules, or route/trip shapes. The sampled source shows schedule queries using calendar logic and GTFSData; shapes also operate on GTFSData. No API server or visualization runtime is shown, so those README capabilities are not mapped as implemented components.
Main entry points: schedules.py Schedule queries · loader.py GTFS loader · shapes.py Route and trip shapes · calendar.py Active services
Components 5
Feed ingestion
- GTFS loader
src/gtfs_project/loader.py
Service dates
- Active services
src/gtfs_project/calendar.py
Schedule and shape queries
- Schedule queries
src/gtfs_project/schedules.py - Route and trip shapes
src/gtfs_project/shapes.py
Other components
- Library caller
Connections 6
- Library caller → GTFS loader: loads feed
- Library caller → Schedule queries: requests schedules
- Library caller → Route and trip shapes: requests shapes
- Schedule queries → Active services: gets active services
src/gtfs_project/schedules.py - Schedule queries → GTFS loader: accepts GTFSData
src/gtfs_project/schedules.py - Route and trip shapes → GTFS loader: accepts GTFSData
src/gtfs_project/shapes.py