Skip to main content

Models GTFS data in a database.

Project description

[![Travis](https://img.shields.io/travis/jarondl/pygtfs/master.svg?style=flat-square)](https://travis-ci.org/jarondl/pygtfs) [![PyPI](https://img.shields.io/pypi/v/pygtfs.svg)](https://pypi-hypernode.com/pypi/pygtfs)

Overview

pygtfs is a library that models information stored in Google’s [General Transit Feed Specification (GTFS)](https://developers.google.com/transit/) format. GTFS is a format designed to specify information about a transit system, such as a city’s subways or a private company’s bus services. pygtfs stores information in an SQLite database using SQLAlchemy to facilitate the storage of Python objects in a relational database.

pygtfs is a fork of @eoghanmurray’s fork of a @andrewblim’s gtfs-sql which is a fork of @bmander’s gtfs. See the git logs for more fun history.

License: MIT, included in license.txt.

Dependencies

Installation

Get [setuptools](http://pypi.python.org/pypi/setuptools) if you don’t have it, clone the repo, and use python setup.py install.

Documentation

Hosted on https://pygtfs.readthedocs.org/

TODO

  • Improve testing; add some unit testing framework and test with a variety of GTFS data feeds.

  • Add more docs

Why fork?

  • natively support several gtfs feeds per database

  • less SLOC, more DRY

  • add python3 support

  • renamed to a more generic name

  • will continue to maintain

Project details


Download files

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

Source Distribution

pygtfs-0.1.9.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

pygtfs-0.1.9-py2.py3-none-any.whl (15.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pygtfs-0.1.9.tar.gz.

File metadata

  • Download URL: pygtfs-0.1.9.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pygtfs-0.1.9.tar.gz
Algorithm Hash digest
SHA256 279beee7538e31a6d677c87ad0fa6fbc18829f04258449c1cb0357c72f613ae0
MD5 8672f846d33523bb95f777443a63d56b
BLAKE2b-256 5c868bc9a1b88d646a7b0e588293a9959d53ea60662c2651f47ed6c155164721

See more details on using hashes here.

File details

Details for the file pygtfs-0.1.9-py2.py3-none-any.whl.

File metadata

  • Download URL: pygtfs-0.1.9-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for pygtfs-0.1.9-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7b53b0783f1367f6df3be959439ed8bd2d399108eb5d2bee10106500bac98416
MD5 6134de0cf25d1925bf9e32f3b24c2c74
BLAKE2b-256 17249280f27d2d0f9e6cfbdf7e6bf9d24e697258b5b9cf9320c80c92b5a47ef8

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page