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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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