dirigent-client
The dirigent API contract: typed wire schemas and an async Python client.
from datetime import timedelta
from dirigent_client import Dirigent
async with Dirigent(url="https://dirigent.example.org", token=token) as dg:
plan = await dg.pipelines.apply("pipelines/daily-climate-load.yaml", dry_run=True)
run = await dg.pipelines.run("daily-climate-load", params={"day": "2026-08-29"})
final = await dg.runs.wait(run.run_id, timeout=timedelta(hours=2))
async for entry in dg.runs.follow_logs(run.run_id):
print(entry.message)
The package holds the pydantic schemas for every request and response the REST API speaks,
and dirigent-server imports them, so the client and the server can never disagree about a
shape. It depends on dirigent-common, httpx2, pydantic, and pyyaml, and on nothing else in the
workspace.
docs/python.md has the worked examples, and examples/python/ has six runnable scripts.
Release files for dirigent-client 0.14.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 | |
|---|---|---|---|
| dirigent_client-0.14.0.tar.gz | 31.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dirigent_client-0.14.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 79.0 kB
Release files / dirigent_client-0.14.0.tar.gz
| Download URL | dirigent_client-0.14.0.tar.gz |
|---|---|
| Size | 31.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9208abb8ef9244e54b7946f8de3c9d9c128150ecebd8940d76dc56b2c0bc5fd2
|
|
BLAKE2b-256 checksum How to use checksums |
0c1e515b4f2f8ca3b6ab106bcc5e434649f5ab56acbed2c8d2f3ce78c0761177
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 11, 2026.
Transparency logRelease files / dirigent_client-0.14.0-py3-none-any.whl
| Download URL | dirigent_client-0.14.0-py3-none-any.whl |
|---|---|
| Size | 47.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce628c4464b82ccce587239bdd3fa076a5faa463c675990f6a5abd132653224c
|
|
BLAKE2b-256 checksum How to use checksums |
f0dce93636d10bfbc94125f53760a5e59ddc250bd161783658cbf7bf83e9cefc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 11, 2026.
Transparency log