No description
- PureBasic 97.6%
- Shell 1.4%
- Python 1%
| build.sh | ||
| decode_gtfs_pb.py | ||
| MBTAPositions.pb | ||
| README.md | ||
| requirements.txt | ||
gtfs-pb-decoder
A simple tool for decoding a GTFS protobuf (pb) file.
Installation
Run build.sh. This will initialize the python environment, download the necessary protobuf definition file, and ensure that the appropriate system package (protobuf) is installed.
Usage
-
Startup the python virtual environment:
source venv/bin/activate -
Run the python app:
python decode_gtfs_pb.py <pb file name>
Hint: to download a pb feed file with cURL, use
curl -sSL <pb file url> -o <pb file name>