Skip to main content

gtfs-io

A Python library for reading, writing, and validating GTFS (General Transit Feed Specification) data.

Status: pre-alpha. The public API is being sketched; most methods are currently stubs that raise NotImplementedError.

Installation

pip install gtfs-io

or, with uv:

uv add gtfs-io

Example

from gtfs_io import Feed

feed = Feed.load("gtfs.zip")
stop = feed.stop("ABC123")

You can also load from a cached copy:

from gtfs_io import Feed

feed = Feed.load_cached("https://example.com/gtfs.zip")
issues = feed.validate()

License

MIT — see LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gtfs_io-0.0.1.tar.gz (14.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gtfs_io-0.0.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file gtfs_io-0.0.1.tar.gz.

File metadata

  • Download URL: gtfs_io-0.0.1.tar.gz
  • Upload date:
  • Size: 14.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.4

File hashes

Hashes for gtfs_io-0.0.1.tar.gz
Algorithm Hash digest
SHA256 74bf58a25bddb204a482901f5e2aac73ec6ef31fcf59ed35b781c75565cab2a9
MD5 8f4e5916f90b229ef4c9e8a961a681ae
BLAKE2b-256 a8e69e757daa7207ca9badcd0d0507e5f4cb35e62d3fa3b7401a7e4706bd59cf

See more details on using hashes here.

File details

Details for the file gtfs_io-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: gtfs_io-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.4

File hashes

Hashes for gtfs_io-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb029af76018fcdaadd88d953b049c2e88bc9a51b751f3b4fa2d5c08a09d9f52
MD5 655ce4d092def32842c599aee014ae3f
BLAKE2b-256 bdc186060f215b171509e75bc2fe32fa37e32fee31b4c50f9cbe9cefd9619947

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page