Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

GTFS Database

Project Description

Supported Databases

  • PostgreSQL (PostGIS for Geo tables) - preferred
  • Oracle - tested
  • MySQL - tested
  • SQLite - tested

Installation

All

Linux

Clone the gtfsdb repository, then run easy_install . at the top level. Or, set up a virtualenv and run python setup.py develop.

Windows

Usage

The GTFS file being used is assumed to be valid.

Example load of GTFS sample into SQLite:

gtfsdb-load http://code.google.com/transit/spec/sample-feed.zip

Example load of GTFS sample into PostgreSQL with PostGIS enabled:

gtfsdb-load –database_url postgresql://postgres@localhost –is_geospatial
http://code.google.com/transit/spec/sample-feed.zip

Note: using the is_geospatial arg will take much longer to load

Release history Release notifications

This version
History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
gtfsdb-0.1.5.zip (143.9 kB) Copy SHA256 hash SHA256 Source None Mar 21, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page