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.

Metadata

Release files for dirigent-client 0.33.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-client 0.33.0
File Size Uploaded Provenance Actions
dirigent_client-0.33.0.tar.gz 51.0 kB With provenance Details for dirigent_client-0.33.0.tar.gz

Built distribution (wheel)

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

Total release size: 119.0 kB

Release files / dirigent_client-0.33.0.tar.gz

Download URL dirigent_client-0.33.0.tar.gz
Size 51.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0f172a6ef916b1752f6025a04b6f0af5b448e85e32a613ca85d4935e7999e071
BLAKE2b-256 checksum
How to use checksums
a468ffe8deaa629ea79485ef404be059f14e4c2bdcfdb92d71a3e38a864e3c23
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 log

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

Download URL dirigent_client-0.33.0-py3-none-any.whl
Size 68.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2cf30fef169fa9e74b6a6364178225da6e8e817d3f5f4c2826d47581ee9c1581
BLAKE2b-256 checksum
How to use checksums
b64fca8be2fe64c95979484a89db360c2cce17c730b62099af34fe7034e9cd25
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 log

Security for dirigent-client 0.33.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_client-0.33.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 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.

Release history Release notifications | RSS feed

This release

0.33.0 This release

2 release files Full provenance

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