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
- Counting Unique Trips at Stops Trip counts for a subset of stops
- Comprehensive date validation that takes into account calendar and calendar dates
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.1.tar.gz
(14.9 kB
view hashes)
Built Distribution
gtfs_lite-0.2.1-py3-none-any.whl
(14.1 kB
view hashes)
Close
Hashes for gtfs_lite-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba85e3d6ff9dfe3d9f2dad9a9a0e0b48b392fd083d069346b7de77d5d1169e31 |
|
MD5 | b445cb97d50c1933d682704a014cb909 |
|
BLAKE2b-256 | e3c533bf003c52d3c1cc0dbc75dfe707bc9904b2dde8b82f96c9cc9ae6903d33 |