Skip to main content

Python client for the Ciaren visual data and ML workflow server

Project description

ciaren-client

ciaren-client is the lightweight Python SDK for Ciaren. It talks to the Ciaren REST API without installing the full application.

Status: alpha (pre-1.0), 0.2.0. Breaking changes are expected before 1.0.0.

Install

python -m pip install ciaren-client

For local development from this repository:

pip install -e path/to/Ciaren/client

Quick Start

from ciaren_client import Ciaren

with Ciaren("http://localhost:8055", webhook_secret="my-secret") as client:
    run = client.trigger("flow-id", parameters={"date": "2026-07-01"})
    print(run["status"])

Async usage is available through AsyncCiaren:

from ciaren_client import AsyncCiaren

async with AsyncCiaren("http://localhost:8055", webhook_secret="my-secret") as client:
    run = await client.trigger("flow-id")

What It Covers

The client includes typed sync and async methods for projects, datasets, flows, runs, schedules, connections (including OS-keychain secrets), catalog metadata, transformations, runtime app settings, ML helpers, plugins, marketplace endpoints, webhook triggers, and SSE run logs.

Use api_token when the server is configured with CIAREN_API_TOKEN. Use webhook_secret only for trigger(), which calls the webhook endpoint.

License: Apache-2.0.

See the SDK documentation.

Project details


Download files

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

Source Distribution

ciaren_client-0.2.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

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

ciaren_client-0.2.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file ciaren_client-0.2.0.tar.gz.

File metadata

  • Download URL: ciaren_client-0.2.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for ciaren_client-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d007f489a30399b0e70777f33dc6e066dcd13a82caef90078c2cf35f05f9fc33
MD5 0d60fa180f880fed3a6b7135b136202b
BLAKE2b-256 77125d21b60de45655e99fecf061cd722ac4233e4fd1810de1a0c78dc15fadaf

See more details on using hashes here.

Provenance

The following attestation bundles were made for ciaren_client-0.2.0.tar.gz:

Publisher: package.yml on ciaren-labs/Ciaren

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

File details

Details for the file ciaren_client-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ciaren_client-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for ciaren_client-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33e39195464a50c1ba7e1a54d36efaee92a511596dab7c3ca63d60dd258eeec1
MD5 b3d12d05c89ae1699978c53168a8d632
BLAKE2b-256 4641862021b882d86ea294540a9569355c9bd49dd6119270b3f65d90a692b78a

See more details on using hashes here.

Provenance

The following attestation bundles were made for ciaren_client-0.2.0-py3-none-any.whl:

Publisher: package.yml on ciaren-labs/Ciaren

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page