Skip to main content

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.15.2

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-client 0.15.2
File Size Uploaded
dirigent_client-0.15.2.tar.gz 33.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dirigent-client 0.15.2
File Interpreter ABI Platform
dirigent_client-0.15.2-py3-none-any.whl Python 3 none any Details

Total release size: 82.0 kB

Release files / dirigent_client-0.15.2.tar.gz

Download URL dirigent_client-0.15.2.tar.gz
Size 33.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1dcb4d9390b660fdae45b890689204d68facc24e10f70bf76e4057ba5c62acd5
BLAKE2b-256 checksum
How to use checksums
c845c435b2e81fdb796e640a4f0cce447adcf7b61100e528a689ed6bfe2d9bd7
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 12, 2026.

Transparency log

Release files / dirigent_client-0.15.2-py3-none-any.whl

Download URL dirigent_client-0.15.2-py3-none-any.whl
Size 49.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5f36be3022af196fef91ffefa55a70b73c8a8cafda1043dfca03e4a713c5ca2
BLAKE2b-256 checksum
How to use checksums
363b0ce6ad09557112a472b58e8951fa0288d8e2a70dfafa2c2a3a8b16c39c70
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 12, 2026.

Transparency log
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