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())
Metadata
Release files for gtfs-lite 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gtfs-lite-0.2.1.tar.gz | 14.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gtfs_lite-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.0 kB
Release files / gtfs-lite-0.2.1.tar.gz
| Download URL | gtfs-lite-0.2.1.tar.gz |
|---|---|
| Size | 14.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1ab1753a76547e1fb1ef727629f562a39dcbb35511236bf4c5fb220c3c8e393
|
|
BLAKE2b-256 checksum How to use checksums |
ec506751f74340c3390bc52ab25217192100eafeb8c87fcef5d2a84eaab7d23d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Release files / gtfs_lite-0.2.1-py3-none-any.whl
| Download URL | gtfs_lite-0.2.1-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba85e3d6ff9dfe3d9f2dad9a9a0e0b48b392fd083d069346b7de77d5d1169e31
|
|
BLAKE2b-256 checksum How to use checksums |
e3c533bf003c52d3c1cc0dbc75dfe707bc9904b2dde8b82f96c9cc9ae6903d33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.10
|
Security for gtfs-lite 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.