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.11.tar.gz (28.0 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.11-py2.py3-none-any.whl (15.9 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for pygtfs-0.1.11.tar.gz
Algorithm Hash digest
SHA256 35a4868f304114ade6a8789b70a576810210a169fea996b2eca25ab23730c56e
MD5 ee3346bbc1eb70fdea2ee6c0c0384136
BLAKE2b-256 c874146aefbfcdacda43bcb3d89ba936d58249a0d0df8f7b1c546a74fcb4b58e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygtfs-0.1.11.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.11-py2.py3-none-any.whl.

File metadata

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

File hashes

Hashes for pygtfs-0.1.11-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6081cf0575336e2f9819e17164ccec16d6fb3ee4fe7abc86d67487df32de3168
MD5 405f54ae45ce01efe0de678086661214
BLAKE2b-256 0b24ed3280bfedb15181b1b16b7a09c2cbf26170e64ed7e6828ab1dfc0a00f00

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygtfs-0.1.11-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