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.35.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.35.0
File Size Uploaded Provenance Actions
dirigent_contrib-0.35.0.tar.gz 53.4 kB With provenance Details for dirigent_contrib-0.35.0.tar.gz

Built distribution (wheel)

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

Total release size: 132.3 kB

Release files / dirigent_contrib-0.35.0.tar.gz

Download URL dirigent_contrib-0.35.0.tar.gz
Size 53.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3441735c690af2d0b53e2a6441ad1815354d9f224716f723cb3221cc096d9af6
BLAKE2b-256 checksum
How to use checksums
0d0451422a044eb24b226e308f6e28c06bd9899d98e6bff5523b54eaf307a4ee
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 4, 2026.

Transparency log

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

Download URL dirigent_contrib-0.35.0-py3-none-any.whl
Size 78.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c54f8cff84492bc05bd3255ad3c6b168188bc92bdbb5609ed885206b65c0f3a2
BLAKE2b-256 checksum
How to use checksums
6f97cce1964a80e79416489916eb07d031508cb2aa536d6234df884964d7ced6
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 4, 2026.

Transparency log

Security for dirigent-contrib 0.35.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.35.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 4, 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