GTFSR Kit is a tiny Python 3.8+ library to process General Transit Feed Specification Realtime (GTFSR) data. It does some simple things like read and write Protocol Buffer or JSON feed files. It also does some complex things like extract and combine delays into Pandas DataFrames.
Do poetry add gtfsr_kit
.
See the Jupyter notebook at notebooks/examples.ipynb
.
- Development status is Alpha
- This project uses semantic versioning
- Thanks to MRCagney for funding this project
- Alex Raichev (2016-06)
- Updated dependencies, removing all but one version caps, and tested on Python 3.10.
- Upgraded to Python 3.8.
- Breaking change: renamed some functions.
- Changed the package name.
- Added
delay_cols
keyword argument tointerpolate_delays
- Handled edge case in
build_augmented_stop_times
for real this time!
- Handled edge case in
build_augmented_stop_times
- Renamed function
dictify
tofeed_to_dict
and added the inverse functiondict_to_feed
- Fixed setup.py
- Finally handled Protocol Buffer feed files, thanks to version 0.0.5 of the Python gtfs-realtime-bindings
- Switched to using Google FeedMessage objects natively
- Simplified code
- Changed the signature of
main.collect_feeds
- Bugfixed
ipynb/examples.ipynb
- Changed to a small data set for tests
- Upgraded to gtfstk==5.0.0
- Removed
time_it
decorators from functions - Changed signature of
main.build_augmented_stop_times
to be more versatile
- Refactored heaps
- Added automated tests
- Added Sphinx docs
- Uploaded to pip
- First release