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

Uploaded Source

Built Distribution

pygtfs-0.1.7-py2.py3-none-any.whl (15.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: pygtfs-0.1.7.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.4

File hashes

Hashes for pygtfs-0.1.7.tar.gz
Algorithm Hash digest
SHA256 b06270b5ff03548ac4e21714dc892c9f2000b7cc9febb50124889520b0d2b2ff
MD5 d6c9b89ed775bb94ffeef8bb8f6a0d6c
BLAKE2b-256 005557c4aec826f9e2d7bc7a43cfd030f298f8cd62783a0b2ed4b22d694d2a20

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pygtfs-0.1.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.4

File hashes

Hashes for pygtfs-0.1.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 19c64b1db8868e1527c65da9714e646da85059946908c9de6a968c691a07e66e
MD5 bfbcc7bd8af61bfdeba16dfacead4170
BLAKE2b-256 2859e733d0371e07bc57810da9b6f42497c80c7bd422470c425954a6099109d1

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