Skip to main content

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
    and gtfs = GTFS.load_zip('path/to/file.zip')
  • Access the various attributes, for example print(gtfs.summary())

Project details


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 details)

Uploaded Source

Built Distribution

gtfs_lite-0.2.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file gtfs-lite-0.2.1.tar.gz.

File metadata

  • Download URL: gtfs-lite-0.2.1.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for gtfs-lite-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e1ab1753a76547e1fb1ef727629f562a39dcbb35511236bf4c5fb220c3c8e393
MD5 0cddf73f33f67412d401d3e3776496fc
BLAKE2b-256 ec506751f74340c3390bc52ab25217192100eafeb8c87fcef5d2a84eaab7d23d

See more details on using hashes here.

File details

Details for the file gtfs_lite-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: gtfs_lite-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for gtfs_lite-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba85e3d6ff9dfe3d9f2dad9a9a0e0b48b392fd083d069346b7de77d5d1169e31
MD5 b445cb97d50c1933d682704a014cb909
BLAKE2b-256 e3c533bf003c52d3c1cc0dbc75dfe707bc9904b2dde8b82f96c9cc9ae6903d33

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page