A lightweight Pandas-driven package for analyzing static GTFS feeds.
Project description
GTFS-Lite
A lightweight Pandas-driven package for analyzing static GTFS feeds.
GTFS-Lite was created out of a desire to be able to quickly load static GTFS feeds into memory and ask specific questions about the dataset in the form of various metrics and manipulation. Examples include:
- Basic Summaries: Trip counts, spans, feed validity, distributions of trips
- Frequency Metrics: Frequency by time of day, route, or stop
- Spatial Analytics: Counts of stops in polygons
You can find the docs here.
To get started:
- Install this package using
pip install gtfs-lite
. - Load a feed directly from a zipfile with
from gtfslite import GTFS
andgtfs = GTFS.load_zip('path/to/file.zip')
- Access the various attributes, for example
print(gtfs.summary())
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
gtfs-lite-0.2.0.tar.gz
(13.1 kB
view hashes)
Built Distribution
gtfs_lite-0.2.0-py3-none-any.whl
(12.4 kB
view hashes)
Close
Hashes for gtfs_lite-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f3705fb8727e7c61877df2f1ccebf6b6ed7aac31b8c355ad63c7ca92faa2f43 |
|
MD5 | df409b6b07ce1409c369a67dfcd4ffd5 |
|
BLAKE2b-256 | 201ade7b48195b69821db52025c11d8600232e4805d5387b405e335a0be2c102 |