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

Uploaded Source

Built Distribution

gtfs_kit-8.0.0-py3-none-any.whl (63.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gtfs_kit-8.0.0.tar.gz
Algorithm Hash digest
SHA256 b5e685a636573265fa661099150ddcaaab4ff424611c57ea653f475cbda6b1ae
MD5 9409572031b3fb9ad67e4c139808be8d
BLAKE2b-256 58899dd43b2279253abd92db466bbf65afbfc2b381158dbaa9421d9969408770

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gtfs_kit-8.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 318a2764d94e61b93858b9b835ce9174b715965c14fa392920f5df50431034ca
MD5 451a5ccefd98f8bb901b3924a5aeefcc
BLAKE2b-256 a0f6adde1ea5b1728d722935e4f823ded5da300c55487cfa9f97920b6fabe83e

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