dirigent-contrib
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.32.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dirigent_contrib-0.32.0.tar.gz | 53.3 kB | With provenance | Details for dirigent_contrib-0.32.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dirigent_contrib-0.32.0-py3-none-any.whl | Python 3 | none | any | Details for dirigent_contrib-0.32.0-py3-none-any.whl |
Total release size: 132.2 kB
Release files / dirigent_contrib-0.32.0.tar.gz
| Download URL | dirigent_contrib-0.32.0.tar.gz |
|---|---|
| Size | 53.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21cd1bbbaa3e968aee3add9c34bb5fe38e312490af35197a1fa1346ae30553f9
|
|
BLAKE2b-256 checksum How to use checksums |
a2ae1488d9877b80a6d84c1d21a31b92e86c8a7fdd2a559e1c5c668590032513
|
| 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 3, 2026.
Transparency logRelease files / dirigent_contrib-0.32.0-py3-none-any.whl
| Download URL | dirigent_contrib-0.32.0-py3-none-any.whl |
|---|---|
| Size | 78.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38b74a52db08dec3cf087fa7cdd753b8bf04779fdcbb28149bfa8984679be828
|
|
BLAKE2b-256 checksum How to use checksums |
2633f678e52cdc7a75210e8dc57b512eeb133f526753b155180442a667ac4a4a
|
| 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 3, 2026.
Transparency logSecurity for dirigent-contrib 0.32.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.
Attestation for dirigent_contrib-0.32.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 3, 2026.
Transparency logA 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.