multigtfs: GTFS as a Django app
multigtfs is an Apache 2.0-licensed Django app that supports importing and exporting of GTFS feeds. All features of the June 20, 2012 reference are supported, including all changes up to February 17, 2014. It allows multiple feeds to be stored in the database at once.
It requires a spatial databases compatible with GeoDjango. PostgreSQL 9.x and PostGIS 2.x are recommended for development and production, since these support all the GeoDjango features. There are issues with GeoDjango in Django 1.4 (see issue 20036), so Django 1.5 or 1.6 is recommended.
multigtfs is ready for your GTFS project.
Point releases (0.4.1 to 0.4.2) should be safe, only adding features or fixing bugs. Minor updates (0.3.3 to 0.4.0) may include significant changes that will break relying code. In the worst case scenario, you may need to export your GTFS feeds in the original version, update multigtfs and your code, and re-import.
multigtfs works with Django 1.5 and 1.6. Django 1.7 is not yet supported. It includes significant changes to database migrations, and will probably be a minor update (for example, 0.4.x to 0.5.x).
All valid GTFS feeds are supported for import and export. This includes
feeds with extra columns not yet included in the GTFS spec, and feeds that
calendar.txt in favor of
calendar_dates.txt (such as the TriMet
archive feeds). If you find a feed that doesn't work, file a bug!
See the issues list for more details on bugs and feature requests.
Check out the example project.