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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dirigent_client-0.9.1.tar.gz (31.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dirigent_client-0.9.1-py3-none-any.whl (46.3 kB view details)

Uploaded Python 3

File details

Details for the file dirigent_client-0.9.1.tar.gz.

File metadata

  • Download URL: dirigent_client-0.9.1.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

Hashes for dirigent_client-0.9.1.tar.gz
Algorithm Hash digest
SHA256 6c25e80e7280d91e8c7e3f7b9a6c6d04efd13af784312c7a79342a0776764228
MD5 d8aff0809586e2e7be1864f53cceb0f2
BLAKE2b-256 bc6c57ff2469e94b80ee2e3b1b4dac81d6b9502997fc5f45b1a73c5b67f1e1bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for dirigent_client-0.9.1.tar.gz:

Publisher: release.yaml on winterop-com/dirigent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dirigent_client-0.9.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dirigent_client-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e924a8c15e7a0f3f151e3ede68a3b9b5ac8bfa24ca6b3a884246a544ef1efbd
MD5 e725ce9a29f4fb24bb012d5d9523d8f9
BLAKE2b-256 c0da2bb80b9e65043dd81552b14de51555971a44f428f52cb8ad081212abd2a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for dirigent_client-0.9.1-py3-none-any.whl:

Publisher: release.yaml on winterop-com/dirigent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.11.0

2 files

0.10.2

2 files

0.10.1

2 files

0.10.0

2 files

0.9.5

2 files

0.9.4

2 files

0.9.3

2 files

0.9.2

2 files

This release

0.9.1 This release

2 files

0.9.0

2 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