Continuous GTFS SDK¶
continuous-gtfs is a Python package for transforming GTFS schedule feeds and GTFS-Realtime feeds. A pipeline is a folder of small steps, each one declaring the files it touches and the steps it runs after. The package scans the folder, orders the steps, and runs them, and its continuous-gtfs command runs a pipeline on your machine, diffs feeds, and draws the step graph.
This site is for pipeline authors, the people who write and test the transforms an agency's feeds pass through. It covers writing steps, the builtin steps, testing, running pipelines locally, and the library and CLI reference.
Where to start¶
| If you want to | Read |
|---|---|
| Know what the job looks like end to end | Making a change |
| Run a first pipeline in five minutes | Getting Started |
| Understand steps, the DAG and the context | Concepts |
| Write a pipeline | Writing Transforms, then Builtins |
| Set up a pipeline repository and iterate on real data | Local Development |
| Unit-test a step | Testing Transforms |
| Look up a builtin, a class or a CLI option | the Reference section |
The platform¶
The same pipelines run unchanged on the Continuous GTFS platform, which runs them continuously against live feeds and adds environments, reviews, validation and publishing. How to operate the platform is documented with the platform, not here. This site stops where a change leaves the author's machine.
Working on these docs¶
The Reference section is generated from the package's docstrings and CLI parser on every build, so a wrong reference entry is fixed in the code. How to build and preview the site is in CONTRIBUTING.md.
Paths¶
This site is served at docs.continuousgtfs.com. The guide and reference pages that site published before keep their paths here unchanged: every page under /guide/ and /reference/ is at the same URL, and the two older builtins paths (/guide/builtins/schedule/ and /guide/builtins/realtime/) still redirect to the builtins catalogs.