--- id: gtfs-realtime-bindings version: "2.2.0" license: Apache License, Version 2.0 license_treatment: permissive maintenance: active --- # gtfs-realtime-bindings — Python classes generated from the GTFS-realtime protocol buffer specification. License: permissive · Maintenance: active · Downloads: 743.5K/mo ## What it is and what it does gtfs-realtime-bindings is a set of pre-generated Python classes that map the GTFS Realtime protocol buffer schema into native Python objects. GTFS Realtime is a data format for communicating real-time information about public transit systems, encoded as compact binary Protocol Buffers. Rather than requiring developers to run the protoc compiler themselves, this package ships the generated classes ready to use, eliminating a common source of confusion for first-time users. You use it to parse binary GTFS Realtime feeds into Python objects, or to construct and serialize such objects for transmission. The package is maintained by MobilityData and has been in active development since 2015, with support for current Python versions (3.8+). Its only runtime dependency is protobuf, keeping installation simple. Use it for: - Parse real-time vehicle location feeds from transit agencies to display live positions. - Consume service alert messages to notify users of delays or service changes. - Build a transit data aggregator that collects GTFS Realtime feeds from multiple agencies. - Construct and publish GTFS Realtime feeds from your own transit system. - Validate or test GTFS Realtime data without writing Protocol Buffer schema definitions. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides pre-generated Python classes for encoding and decoding GTFS Realtime data—real-time public transit information—using Protocol Buffers for efficient binary serialization. Yes. This is a focused, well-maintained library for a specific standard (GTFS Realtime) with low install friction, permissive licensing, no known vulnerabilities, and active upstream maintenance. Install it if you need to work with real-time transit data; skip it if you don't. ## Install pip install gtfs-realtime-bindings uv add gtfs-realtime-bindings poetry add gtfs-realtime-bindings ## Installing gtfs-realtime-bindings Before you install: Low friction: pure Python wheel with a single runtime dependency on protobuf. Actively maintained with recent release on 2026-07-29. License in practice: Apache License, Version 2.0 (permissive) allows free use, modification, and distribution in both open-source and commercial projects with minimal restrictions. Quickstart: pip install gtfs-realtime-bindings import gtfs_realtime_bindings # Use protobuf-generated classes to parse binary GTFS Realtime feed data Requires Python >= 3.8 and protobuf runtime dependency. Verify before relying: - Whether the package's Protocol Buffer definitions are kept in sync with the official GTFS Realtime spec. - Performance characteristics when handling large or frequent transit feed updates. - Compatibility with specific protobuf versions beyond the declared runtime dependency. - Exact module structure and class names available after installation. ## Package facts - License: Apache License, Version 2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 743.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags gtfs realtime protocol buffers, public transit real-time data, gtfs bindings python, transit feed protocol buffers, protobuf gtfs realtime, public transportation data parsing, gtfs realtime encoding decoding, transit-data, protocol-buffers [View on SkillFed](https://skillfed.io/packages/gtfs-realtime-bindings) · [View on PyPI](https://pypi.org/project/gtfs-realtime-bindings/)