Skip to content

simovilab/gtfs-io

Repository files navigation

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.

About

GTFS models and utilities for data import/export

Resources

License

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages