Skip to main content

amarillo-grfs-exporter

This plugin for Amarillo adds endpoints /region/{region_id}/grfs and /region/{region_id}/grfs-rt for serving the GRFS data on your Amarillo instance. Serves the grfs zip files from the data/gtfs folder. If the files don't exist or are out of date (from yesterday in the case of GRFS and older than a minute for GRFS-RT) the plugin will retrieve them from the configured generator_url.

Installation

pip install amarillo-grfs-exporter

This package will install inside the amarillo/plugins folder in your python environment. Next time you launch Amarillo, it should be discovered automatically and you should see messages like this:

INFO - Discovered plugins: ['amarillo.plugins.grfs_export', ...]
...
INFO - Running setup function for amarillo.plugins.grfs_export

The setup() function will be called automatically and it will add the necessary endpoints to your Amarillo FastAPI application.

Configuration

You can configure the generator_url through an environment variable, or by adding it to the config file in the amarillo root folder:

generator_url = 'http://localhost:8002'

The default value is http://localhost:8002.

The generator_url should point to a running instance of amarillo-grfs-generator.

Usage

Make GET requests to the /region/{region_id}/grfs and /region/{region_id}/grfs-rt. The GRFS data will be returned as a zip file, while realtime data can be requested in .pbf or .json using the format query parameter.

Metadata

Release files for amarillo-grfs-exporter 2.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for amarillo-grfs-exporter 2.0.2
File Size Uploaded Provenance Actions
amarillo_grfs_exporter-2.0.2.tar.gz 49.8 kB Without provenance Details for amarillo_grfs_exporter-2.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for amarillo-grfs-exporter 2.0.2
File Interpreter ABI Platform Actions
amarillo_grfs_exporter-2.0.2-py3-none-any.whl Python 3 none any Details for amarillo_grfs_exporter-2.0.2-py3-none-any.whl

Total release size: 91.4 kB

Release files / amarillo_grfs_exporter-2.0.2.tar.gz

Download URL amarillo_grfs_exporter-2.0.2.tar.gz
Size 49.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0debd3067d85f8ad1092b6f917bc8297ae44fb1f9376321dd8c317720d88bbda
BLAKE2b-256 checksum
How to use checksums
711fc15f40fd4782977d73eec8df0916262a4104cda5b7db1c2ac8b323b96673
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.2

Release files / amarillo_grfs_exporter-2.0.2-py3-none-any.whl

Download URL amarillo_grfs_exporter-2.0.2-py3-none-any.whl
Size 41.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e039702e2e3a3ebfc47764ccab8c911d845bf5e3bf603d14005dd8c50af4250b
BLAKE2b-256 checksum
How to use checksums
02b1ab59f76f696d5bf18bc4fd1578222d43c6c2460f52f94da8be3da544c4e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.2

Security for amarillo-grfs-exporter 2.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page