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.1.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.1.0a1.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.1.0a1-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file ciaren_client-0.1.0a1.tar.gz.

File metadata

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

File hashes

Hashes for ciaren_client-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 849b773817781ead6fe919e0ccc8881cce67c250fbda9926405b7ca9b42b7dfe
MD5 047cf510dae498eabe48fff9777769bf
BLAKE2b-256 6ebae8596ce49a1990de8629e75225742a751c95ef0de87b196061e01eeac7ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for ciaren_client-0.1.0a1.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.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: ciaren_client-0.1.0a1-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.12

File hashes

Hashes for ciaren_client-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 d443412f377e8d91fb3f132719be76d92655c55e9701354d9680c9ec98eb8042
MD5 bd238ba0723e1b9f5764dfcff1a93c66
BLAKE2b-256 af8571c7a6d0cc3e766b6c3f4f9306fe0336d2d4f798647d425e00a4681120bc

See more details on using hashes here.

Provenance

The following attestation bundles were made for ciaren_client-0.1.0a1-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