Skip to main content

Python SDK for the Dominus Orchestrator Platform

Project description

Dominus SDK for Python

Async Python SDK for CareBridge Dominus services. It routes service calls to the Dominus Orchestrator and handles gateway-based JWT minting, base64 encoding, retries, and circuit breaking.

What This Is

  • Server-side, asyncio-first Python SDK (3.9+)
  • Namespace API plus ultra-flat root shortcuts for common operations
  • Defaults to production orchestrator + gateway endpoints (configurable)

Quick Start

import os
from dominus import dominus

os.environ["DOMINUS_TOKEN"] = "your-psk-token"

users = await dominus.db.query("users", filters={"status": "active"})
await dominus.redis.set("session:123", {"user": "john"}, ttl=3600)
file = await dominus.files.upload(data=buf, filename="report.pdf", category="reports")

Architecture (SDK View)

  • DOMINUS_TOKEN (PSK) -> Gateway /jwt/mint -> JWT cached in dominus_cache
  • JSON requests/responses are base64-encoded for auth-required routes
  • GET requests send no body; parameters are in path or POST body
  • Gateway routing is optional per-request; AI namespace always uses gateway

Namespaces

  • secrets, db, secure, redis, files, auth, ddl, logs, portal, courier, open, health
  • admin (reseed/reset admin category)
  • ai (agent-runtime: LLM, RAG, artifacts, results, orchestration, speech)
  • workflow (workflow-manager CRUD and execution)
  • oracle / stt (streaming speech-to-text sessions)

Configuration

Required:

  • DOMINUS_TOKEN

Optional:

  • DOMINUS_GATEWAY_URL (default production gateway)
  • DOMINUS_BASE_URL (default production orchestrator)
  • DOMINUS_HTTP_PROXY / DOMINUS_HTTPS_PROXY (httpx proxies)

Documentation

  • docs/architecture.md
  • docs/namespaces.md
  • docs/development.md

License

Proprietary - CareBridge Systems

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

dominus_sdk_python-2.11.0.tar.gz (73.2 kB view details)

Uploaded Source

Built Distribution

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

dominus_sdk_python-2.11.0-py3-none-any.whl (86.6 kB view details)

Uploaded Python 3

File details

Details for the file dominus_sdk_python-2.11.0.tar.gz.

File metadata

  • Download URL: dominus_sdk_python-2.11.0.tar.gz
  • Upload date:
  • Size: 73.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for dominus_sdk_python-2.11.0.tar.gz
Algorithm Hash digest
SHA256 890327d8594863a637d7e20fc2ff67080cd002ab9d13b2f2180f4be9fe083c58
MD5 5717ad77999012df7239d005cbcf6154
BLAKE2b-256 13a7548dbbd9044aeb378f683a1943ff8acd32429c467cbd1ed64a7605cdbd33

See more details on using hashes here.

File details

Details for the file dominus_sdk_python-2.11.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dominus_sdk_python-2.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e8bb62f66c1d12034a4135ce8ff5ef55475b9eb1c606d2536d35a606582eff5
MD5 d205e709a3fa500761c1ec01e6e14400
BLAKE2b-256 dea3b9e1fe95568b35f3db967b2d3fcd3497f60a554325618d035095d63d3fbc

See more details on using hashes here.

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