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.6.tar.gz (26.3 kB view details)

Uploaded Source

Built Distribution

pygtfs-0.1.6-py2.py3-none-any.whl (15.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: pygtfs-0.1.6.tar.gz
  • Upload date:
  • Size: 26.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for pygtfs-0.1.6.tar.gz
Algorithm Hash digest
SHA256 f996ed84569285e2a9e0ea0e8373d9a37088ef90f7b17be4aef300f55f8ba25b
MD5 15d2c55a49f4f977c540d259dc62ad07
BLAKE2b-256 c8d75ad706a984af23415035d40df5a9f9efbdff81cd1eba9b9b7d2966d02765

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygtfs-0.1.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for pygtfs-0.1.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fd8abc45b1f6b891755047972eb50bf7940b0859ecf06cb8fda4a2c1720aa230
MD5 ae66b6d081973e5c0acda79d40544489
BLAKE2b-256 e1e91595c48e45aa4e379cf20c5a347f6aa4c88df79ab004a5de0ea1a740c6a4

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