Sigillum passive observability SDK (Python). Fire-and-forget; never blocks or alters the host application.
Project description
sigillum-sdk
Passive observability SDK for the Sigillum AI governance platform (Python, server-side).
SigillumClient.observe(...) enqueues an observation and returns immediately. A daemon worker delivers it to the Sigillum ingestion endpoint with a per-request timeout, bounded retry and a circuit breaker. A bounded drop-oldest queue guarantees that a slow or unreachable Sigillum can never grow memory or block the host application. Fire-and-forget by design: it never blocks, alters or delays the host application's flow.
Quick start
from sigillum_sdk import SigillumClient, SigillumOptions
sigillum = SigillumClient(SigillumOptions(
ingest_url="https://api.sigillum.com.tr/ingest/v1/observation",
tenant_id="<your-tenant-id>",
api_key="<your-ingest-key>",
default_ai_asset_slug="my-ai-asset",
))
sigillum.observe(
operation="chat.answer",
model={
"provider": "openai",
"model": "gpt-4o-mini",
"inputTokens": input_tokens,
"outputTokens": output_tokens,
},
)
observe(...) accepts keyword arguments for each observation facet (transaction, pii, model, agentic, drift, review and more). Call close() on shutdown to drain the queue.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sigillum_sdk-1.0.0.tar.gz.
File metadata
- Download URL: sigillum_sdk-1.0.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36eb98bf7a2839a1400a4407728f9b87d1092413c0cf62c49c0815a86b1149af
|
|
| MD5 |
c57f088f3271c27ff2120eb859d45225
|
|
| BLAKE2b-256 |
e0c700d08dadb202f71d600768ff9b56550279a23568711df51b7603d5359c9c
|
File details
Details for the file sigillum_sdk-1.0.0-py3-none-any.whl.
File metadata
- Download URL: sigillum_sdk-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d001a0f0406982c40e00a9ad68fdea367e1ff81862f800e05fe20ccbef6d1f4
|
|
| MD5 |
24e1ede02b75fc6199724ff267f935d4
|
|
| BLAKE2b-256 |
fa8b63e4c4c3e651df9f19902842102750f3d164fe25328c101f6b2f48d8e2b0
|