A Python 3.9+ library for analyzing GTFS feeds.
Project description
GTFS Kit is a Python 3.9+ library for analyzing General Transit Feed Specification (GTFS) data in memory without a database. It uses Pandas and Shapely to do the heavy lifting.
Installation
poetry add gtfs_kit.
Examples
You can find examples in the Jupyter notebook notebooks/examples.ipynb.
Documentation
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gtfs_kit-6.1.1.tar.gz
.
File metadata
- Download URL: gtfs_kit-6.1.1.tar.gz
- Upload date:
- Size: 55.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.6 Linux/5.15.0-118-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ef60cd67f92fbc7811165c3fbce993fcab11402908d1765360ee8b69f59e786 |
|
MD5 | 21df6662798de9f55e00c08ffd52306b |
|
BLAKE2b-256 | a913d582060b210dc485aca2810481a15d87f295777e4b7ab286649408988102 |
File details
Details for the file gtfs_kit-6.1.1-py3-none-any.whl
.
File metadata
- Download URL: gtfs_kit-6.1.1-py3-none-any.whl
- Upload date:
- Size: 63.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.6 Linux/5.15.0-118-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f2c2edfb2df6da467cc76baf665680f6826446495789cc3cd276b70cb63582b |
|
MD5 | 68120f48a92477e14b93570bdd6d9824 |
|
BLAKE2b-256 | 29d73d903efd5fce1683ee338202acbc97fb71c22738cb7d1a767868be94a681 |