Skip to main content

A Python library for analyzing GTFS feeds.

Project description

https://github.com/mrcagney/gtfs_kit/actions/workflows/test.yml/badge.svg

GTFS Kit is a Python library for analyzing General Transit Feed Specification (GTFS) data in memory without a database. It uses Pandas and GeoPandas to do the heavy lifting.

Installation

Install it from PyPI with UV, say, via uv add gtfs_kit.

Examples

In the Jupyter notebook notebooks/examples.ipynb.

Authors

  • Alex Raichev (2019-09), maintainer

Documentation

The documentation is built via Sphinx from the source code in the docs directory then published to Github Pages at mrcagney.github.io/gtfs_kit_docs.

Notes

  • This project’s development status is Alpha. I use GTFS Kit for work and change it breakingly to suit my needs.

  • This project uses semantic versioning.

  • I aim for GTFS Kit to handle the current GTFS. In particular, i avoid handling GTFS extensions. That is the most reasonable scope boundary i can draw at present, given this project’s tiny budget. If you would like to fund me to expand that scope, feel free to email me.

  • Thanks to MRCagney for periodically donating to this project.

  • Constructive feedback and contributions are welcome. Please issue pull requests from a feature branch into the develop branch and include tests.

  • GTFS time is measured relative noon minus 12 hours, which can mess things up when crossing into daylight savings time. I don’t think this issue causes any bugs in GTFS Kit, but you and i have been warned. Thanks to user derhuerst for bringing this to my attention in closed Issue 8.

  • I’ll probably remove the GTFS validation module validators.py to avoid duplicating the work of what is now the canonical feed validator (written in Java).

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

gtfs_kit-8.1.1.tar.gz (522.6 kB view details)

Uploaded Source

Built Distribution

gtfs_kit-8.1.1-py3-none-any.whl (63.9 kB view details)

Uploaded Python 3

File details

Details for the file gtfs_kit-8.1.1.tar.gz.

File metadata

  • Download URL: gtfs_kit-8.1.1.tar.gz
  • Upload date:
  • Size: 522.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.17

File hashes

Hashes for gtfs_kit-8.1.1.tar.gz
Algorithm Hash digest
SHA256 ed008bf251dd02c840d542160d3c98c241fe4ad816d802e1db911c240aa09be6
MD5 a0cfa2745b091f31cb2b84f83095ee94
BLAKE2b-256 8b54ccf9309071b83a816cf3dde0043ea5c0885ea318862270c0a5d544c86c42

See more details on using hashes here.

File details

Details for the file gtfs_kit-8.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for gtfs_kit-8.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f655cbe423c6201d98bb0019365f58a0bd8c4220fb4a8f7c7767d183f324cd17
MD5 65e82a7464d3382aa1b88b09b9d0926a
BLAKE2b-256 0b264bd9f5010af1992e2f24b64dab69c3aba422571f6f79ee363d1c5729b111

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