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.python.org/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.10.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygtfs-0.1.10-py2.py3-none-any.whl (16.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: pygtfs-0.1.10.tar.gz
  • Upload date:
  • Size: 27.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pygtfs-0.1.10.tar.gz
Algorithm Hash digest
SHA256 6ce1bf6d7cfdede58cefb029ad0bc482d97d8367d06db29cc27885d5f002d1dd
MD5 ceccc602cb19bc90012c2176b01d5fc2
BLAKE2b-256 f4d93f08baf6b9931da406da213f2bc8a777ae7da91a4ce81f12e078ad9bfb33

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygtfs-0.1.10.tar.gz:

Publisher: publish-to-pypi.yaml on jarondl/pygtfs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: pygtfs-0.1.10-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pygtfs-0.1.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5889d89aa85688c5e881d8ff80b5cf701bf7e05d45d727c2b8401936ae1532c5
MD5 62ceaf891c67141cfe8a46e9981cccfe
BLAKE2b-256 3776da2dd2152c0139ec3ff5dcce963a91baae06b7f3cc73a53a1a355a1bb764

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygtfs-0.1.10-py2.py3-none-any.whl:

Publisher: publish-to-pypi.yaml on jarondl/pygtfs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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