Python MIT v0.1.0
Pure-Python multimodal transit isochrone generator using the RAPTOR algorithm on GTFS feeds. No Java, no Rust, no compiled extensions.
Computing transit isochrones in Python previously required r5py (Java JVM) or ferrobus (Rust). This library fills the pure-Python gap, pip-installable with no native runtime dependency.
pip install transit-isochrone
from transit_isochrone import compute_isochrone
from datetime import datetime
iso = compute_isochrone(
"gtfs.zip", 52.3791, 4.8994,
max_minutes=30,
departure=datetime(2026, 5, 29, 8, 0, 0),
)
print(iso["properties"]["reachable_stops"], "stops reachable")
RAPTOR routing on 400-stop grid: ~12.9 µs/query (77K queries/sec).