Skip to main content

dirigent-contrib

CI Docs

Block packs for dirigent that reach outside systems, all in one package. Installing dirigent-contrib is the whole of the configuration: the host finds each pack through its entry point.

uv tool install dirigent-cli --with dirigent-contrib

Documentation: https://winterop-com.github.io/dirigent-contrib/.

Chap

The chap connection kind and the blocks that drive one Chap (chap-core) server, in dirigent_contrib.chap: import observations as a dataset, run a backtest, forecast from a saved prediction setup, read the forecast's quantiles, list the configured models, compute the endemic channel, and record a forecast's alerts and wait for a person to review them in Chap.

Block Kind What it does
chap.dataset.import operator, probed Validates observations, imports them as a dataset, and waits for the import job.
chap.backtest.run operator, probed Runs a backtest of a configured model on a stored dataset.
chap.prediction.run operator, probed Forecasts from a saved prediction setup with fresh observations.
chap.prediction.read operator Reads a prediction's forecasts at the quantiles asked for.
chap.models.list operator Lists the server's configured models.
chap.thresholds operator Computes outbreak thresholds, the endemic channel, for a dataset.
chap.alerts.record operator Records alerts against a policy, each one waiting for review.
chap.alerts.reviewed sensor Waits until a prediction's alerts are reviewed, and hands on the approved ones.
chap.alerts.list operator Reads where alerts stand in the review, once.

The open climate service

The climate connection kind and the blocks that drive one instance of the open climate service, in dirigent_contrib.climate: list its datasets, aggregate one to org units, run a batch job and download what it made, deliver a saved export to DHIS2, and ingest or sync a managed dataset.

Block Kind What it does
climate.datasets.list operator Lists the published datasets.
climate.aggregate operator Runs a process graph synchronously and keeps its payload.
climate.job.run operator, probed Runs a process graph as an openEO batch job.
climate.job.result operator Downloads a finished job's payload into the run's storage.
climate.export operator, probed Delivers a job's saved export through the service's own DHIS2 connection.
climate.ingest operator, probed Creates or updates a managed dataset.
climate.sync operator, probed Brings a managed dataset forward from its latest time step.

Working on it

One package, with a subpackage per system under src/dirigent_contrib/ and its tests under tests/. The gates CI runs:

make sync
make check
make test
make docs

Live checks against a real server only read, and are opt-in:

DIRIGENT_LIVE=1 uv run pytest -m live
DIRIGENT_LIVE=1 CHAP_LIVE_URL=http://localhost:8000 uv run pytest -m live

Licence

Copyright (c) 2026 Morten Olav Hansen. All rights reserved. The source is published for reference only: no licence to use, copy, modify or distribute it is granted, and any use beyond reading requires written permission.

Metadata

Release files for dirigent-contrib 0.28.0

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

Source distribution (sdist)

Source distribution for dirigent-contrib 0.28.0
File Size Uploaded Provenance Actions
dirigent_contrib-0.28.0.tar.gz 51.5 kB With provenance Details for dirigent_contrib-0.28.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dirigent-contrib 0.28.0
File Interpreter ABI Platform Actions
dirigent_contrib-0.28.0-py3-none-any.whl Python 3 none any Details for dirigent_contrib-0.28.0-py3-none-any.whl

Total release size: 128.3 kB

Release files / dirigent_contrib-0.28.0.tar.gz

Download URL dirigent_contrib-0.28.0.tar.gz
Size 51.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6e1e457eb8398bfce2149c1d6e681563dd07a5d672297310b33b2748bb78d5bb
BLAKE2b-256 checksum
How to use checksums
22534d17526a9ab24d56a104ddd2c6990b09b4426f4fda28321b77a64769cdc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Release files / dirigent_contrib-0.28.0-py3-none-any.whl

Download URL dirigent_contrib-0.28.0-py3-none-any.whl
Size 76.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac2f60a85d8845a3b1facae842b52b3cf925fe6b7823d27ed784a842e6e380d2
BLAKE2b-256 checksum
How to use checksums
b56ecae5bbe4ec3d312dbcc5bd044b2b8fc3510d70a10103764b0be9bee1cc70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

Security for dirigent-contrib 0.28.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dirigent_contrib-0.28.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 1, 2026.

Transparency log

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.

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