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

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.23.3
File Size Uploaded
dirigent_client-0.23.3.tar.gz 37.6 kB Details

Built distribution (wheel)

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

Total release size: 92.7 kB

Release files / dirigent_client-0.23.3.tar.gz

Download URL dirigent_client-0.23.3.tar.gz
Size 37.6 kB
Tags Source
SHA-256 checksum
How to use checksums
8f59921d5fd6690ea822e84a1494a9519459776227c98eabcf1064caf89f35d4
BLAKE2b-256 checksum
How to use checksums
5beef7125974dd0ab1b2ace825d23156e56c8ec873430d16fa85ac77e290b135
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 Oct 7, 2026.

Transparency log

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

Download URL dirigent_client-0.23.3-py3-none-any.whl
Size 55.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74259ede193c6b6f4040440003299e772c14e13cd7734849a980511146b6ea60
BLAKE2b-256 checksum
How to use checksums
17b852b4337ae0dd99e087b44775beb211f595f1049ecc5c2575d76e7cf8a8c8
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 Oct 7, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.23.3 This release

2 release files

0.22.0

2 release files

0.21.0

2 release files

0.20.0

2 release files

0.19.0

2 release files

0.18.4

2 release files

0.18.3

2 release files

0.18.2

2 release files

0.18.1

2 release files

0.18.0

2 release files

0.17.3

2 release files

0.17.2

2 release files

0.17.1

2 release files

0.17.0

2 release files

0.16.7

2 release files

0.16.6

2 release files

0.16.5

2 release files

0.16.4

2 release files

0.16.3

2 release files

0.16.2

2 release files

0.16.1

2 release files

0.16.0

2 release files

0.15.2

2 release files

0.15.1

2 release files

0.15.0

2 release files

0.14.1

2 release files

0.14.0

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

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