{"repo":"simovilab/gtfs-django","free":true,"listed":false,"github":"https://github.com/simovilab/gtfs-django","clone":"git clone https://github.com/simovilab/gtfs-django.git","description":"Django application with utilities and models to handle GTFS data.","language":"Python","stars":53,"topics":["django","gtfs"],"license":null,"category":"databases-storage","readme_excerpt":"GTFS Django A Django package that provides abstract models for GTFS (General Transit Feed Specification) data, covering both static Schedule feeds and dynamic Realtime feed messages. Because all models are abstract, this package creates no database tables of its own. You subclass the models in your own Django app, giving you full control over your schema — adding foreign keys, extra fields, constraints, or any other customisations your project requires. The package gtfs-django also includes custom Django model fields that handle GTFS-specific data types and formats, such as time fields that support hours greater than 24, geographic coordinate fields, and validated fields for color codes, language tags, and more. Finally, gtfs-django provides utilities for importing GTFS data from ZIP files, parsing GTFS Realtime protobuf messages, and validating GTFS feed contents against the specification. Requirements - Python : 3.12+ - Django : 5.2+ Installation Quick Start 1. Add to your Django settings 2. Subclass the abstract models in your app Add auxiliary tables or new fields as needed. 3. Run migrations for your app Abstract Models GTFS Schedule Model GTFS file Description --- --- --- BaseAgency agency.txt Transit agencies BaseStop stops.txt Stops and stations BaseRoute routes.txt Routes BaseTrip trips.txt Trips BaseStopTime stop times.txt Arrival/departure times per stop BaseCalendar calendar.txt Weekly service schedules BaseCalendarDate calendar dates.txt Service exceptions BaseSh","default_branch":null,"files":null,"tree":[],"storefront":"/r/simovilab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/simovilab/gtfs-django/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}