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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dirigent_client-0.9.5.tar.gz.
File metadata
- Download URL: dirigent_client-0.9.5.tar.gz
- Upload date:
- Size: 31.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
178ceee27d2386583732894e0bcaf962a580c652858b85b5a167e49da49ecc6e
|
|
| MD5 |
38f1080fb2d5d785acbf481a675f5ef0
|
|
| BLAKE2b-256 |
c2d8e73bebcf623faeaaf079ea5154f4b9c7b74a81cb9499bf3dba6a36a89c13
|
Provenance
The following attestation bundles were made for dirigent_client-0.9.5.tar.gz:
Publisher:
release.yaml on winterop-com/dirigent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dirigent_client-0.9.5.tar.gz -
Subject digest:
178ceee27d2386583732894e0bcaf962a580c652858b85b5a167e49da49ecc6e - Sigstore transparency entry: 2769785437
- Sigstore integration time:
-
Permalink:
winterop-com/dirigent@9034185c67e1d72af0093f32858f3595b41a9e90 -
Branch / Tag:
refs/tags/v0.9.5 - Owner: https://github.com/winterop-com
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@9034185c67e1d72af0093f32858f3595b41a9e90 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dirigent_client-0.9.5-py3-none-any.whl.
File metadata
- Download URL: dirigent_client-0.9.5-py3-none-any.whl
- Upload date:
- Size: 46.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8487d7d3ce541f84c1a2c0c925b3b2f77c9ccf2470512ace06ee06abe59be5cf
|
|
| MD5 |
405d258ce228918bed4b02f0a11f948a
|
|
| BLAKE2b-256 |
2fbc6d50d4b8615092420a0f811335400ed3135436a89bbf10027ccbbccb1ce7
|
Provenance
The following attestation bundles were made for dirigent_client-0.9.5-py3-none-any.whl:
Publisher:
release.yaml on winterop-com/dirigent
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dirigent_client-0.9.5-py3-none-any.whl -
Subject digest:
8487d7d3ce541f84c1a2c0c925b3b2f77c9ccf2470512ace06ee06abe59be5cf - Sigstore transparency entry: 2769785576
- Sigstore integration time:
-
Permalink:
winterop-com/dirigent@9034185c67e1d72af0093f32858f3595b41a9e90 -
Branch / Tag:
refs/tags/v0.9.5 - Owner: https://github.com/winterop-com
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@9034185c67e1d72af0093f32858f3595b41a9e90 -
Trigger Event:
push
-
Statement type: