Skip to main content

cairn-client

The typed Python client for the cairn control-plane API (#1194, ADR-0085 D7).

Every method maps 1:1 onto a route in the committed contract (console/openapi.json) — a test fails if the client and the spec drift. It imports nothing from cairn.core (CI-enforced): this package is the boundary that lets the CLI's user commands (#1195) and the ask agent (#1196) work against a cairn deployment without engine internals.

from cairn_client import CairnClient

c = CairnClient("http://localhost:8000")
c.login("dev", "dev")                       # cairn dev's seeded login
c.healthz()
c.launch_pipeline("training/e2e-finetune", {"dataset": "…"})
c.advance_step(pid, "promote-model", approver="me")

Auth: pass token= directly, call login(), or neither (an auth-disabled dev engine accepts bare requests). The generic request() door covers any route a typed method doesn't wrap yet.

Metadata

Release files for cairn-client 0.2.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 cairn-client 0.2.0
File Size Uploaded Provenance
cairn_client-0.2.0.tar.gz 13.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cairn-client 0.2.0
File Interpreter ABI Platform
cairn_client-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.1 kB

Release files / cairn_client-0.2.0.tar.gz

Download URL cairn_client-0.2.0.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
329887b90cbad9f9f7f5fc8f6de031c80f8c7b0dbd18bda9bebe90842a6ee4d6
BLAKE2b-256 checksum
How to use checksums
52e16c473b3b187235bb79abdd7b264dfa9ba9670f06f3cfe6b3ae86db92403c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / cairn_client-0.2.0-py3-none-any.whl

Download URL cairn_client-0.2.0-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7ad5190b2f7bd0ee430e93fb380624a28f96a358145552d5d8e31bda50d6a1e
BLAKE2b-256 checksum
How to use checksums
b1d49cd7164ae49b1ba85d4037536dcc84e1d1b0837560f71084475265d58815
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for cairn-client 0.2.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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