Use this guide to set up the analytics workspace, inspect the CLI, run the basic local checks, and try the current sample-data workflow without backend or S3 credentials.
- Python 3.12 or 3.13
uv
make setupThis installs the locked workspace and local pre-commit Git hooks.
uv run pyro-analytics --helpuv run pytestThe CLI calls this source fixture because it reads a checked-in sample file.
uv run pyro-analytics pyromap publish --source fixture --fixture-path packages/pyromap/tests/fixtures/api-cameras.json --output camera-cells.geojsonThis writes camera-cells.geojson, a public GeoJSON artifact that groups
cameras into deterministic H3 cells.
uv run pyro-analytics pyromap orchestrate --source fixture --fixture-path packages/pyromap/tests/fixtures/api-cameras.json --output camera-cells.geojsonThis runs the same publication behavior through the Pyromap Prefect flow.
make build-docsThis regenerates the package reference before writing the built site to
docs/_build/html.
- Sources explains the reusable dlt source package.
- Pyronear API documents the backend camera source contract.
- Pyromap explains the camera map workflow.
- Contracts define stable behavior for map consumers.
- Runbooks cover operational publishing tasks.