EvalKit Python SDK — LLM observability and tracing
Project description
EvalKit Python SDK
LLM observability and tracing for Python apps. One init() call auto-instruments
your LLM clients, HTTP calls, database queries, and logging — then streams traces to
Syntropy Labs.
Installation
pip install syntropylabs-evalkit
Optional provider extras:
pip install "syntropylabs-evalkit[openai]" # OpenAI
pip install "syntropylabs-evalkit[anthropic]" # Anthropic
pip install "syntropylabs-evalkit[all]" # everything
The PyPI package is
syntropylabs-evalkit, but you import it asevalkit.
Quickstart
import evalkit
evalkit.init(
subscription_key="sk_...", # your Syntropy Labs key
service_name="my-service",
)
# That's it — your OpenAI / Anthropic / HTTP / DB calls are now traced automatically.
from openai import OpenAI
client = OpenAI()
resp = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "Hello!"}],
)
init() sets up auto-instrumentation for you. Context (including trace IDs)
propagates automatically across threads — no manual wiring required.
Web frameworks
# FastAPI / Starlette
from evalkit import EvalKitMiddleware
app.add_middleware(EvalKitMiddleware)
# Flask
import evalkit
evalkit.instrument_flask(app)
# Django — add to MIDDLEWARE
"evalkit.EvalKitDjangoMiddleware"
Manual spans
import evalkit
end, ctx = evalkit.start_span("my-operation", {"key": "value"})
try:
... # your work
finally:
end("ok")
# Or as a decorator
@evalkit.trace_function()
def do_work(x):
return x * 2
SQLAlchemy
import evalkit
evalkit.patch_sqlalchemy_engine(engine)
Flushing
Traces are batched and exported in the background. Flush before exit if needed:
evalkit.flush()
Links
- Website: https://syntropylabs.ai
- Documentation: https://syntropylabs.ai/docs
License
Proprietary — © 2026 Syntropy Labs. All rights reserved. See LICENSE.
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 syntropylabs_evalkit-0.1.17.tar.gz.
File metadata
- Download URL: syntropylabs_evalkit-0.1.17.tar.gz
- Upload date:
- Size: 46.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3654851d75125d712ad1e00217c9da1189e5310178a9547ad67b39aa58cd43d
|
|
| MD5 |
7d645f5d6185adab619d411558efc465
|
|
| BLAKE2b-256 |
3664ef5e11289aaf03ada2fea9d883ee69195bac9811a5c3df9449cb2317ab52
|
Provenance
The following attestation bundles were made for syntropylabs_evalkit-0.1.17.tar.gz:
Publisher:
publish.yml on Syntropylabs-ai/evalkit_sdk_py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
syntropylabs_evalkit-0.1.17.tar.gz -
Subject digest:
d3654851d75125d712ad1e00217c9da1189e5310178a9547ad67b39aa58cd43d - Sigstore transparency entry: 1710504975
- Sigstore integration time:
-
Permalink:
Syntropylabs-ai/evalkit_sdk_py@0b7de89c056c5d75dc32a445c55ac783f596fc8d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Syntropylabs-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0b7de89c056c5d75dc32a445c55ac783f596fc8d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file syntropylabs_evalkit-0.1.17-py3-none-any.whl.
File metadata
- Download URL: syntropylabs_evalkit-0.1.17-py3-none-any.whl
- Upload date:
- Size: 76.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec51a3bd324c16088e29443536746ffccded955b608fddc1c89d9d1e5efc36f3
|
|
| MD5 |
4b1e7361bd9b4824cfd980b070bfffdc
|
|
| BLAKE2b-256 |
61566189b948dfce4767fd03957dfeeb4e401bfc4259040f226ac69caab932ce
|
Provenance
The following attestation bundles were made for syntropylabs_evalkit-0.1.17-py3-none-any.whl:
Publisher:
publish.yml on Syntropylabs-ai/evalkit_sdk_py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
syntropylabs_evalkit-0.1.17-py3-none-any.whl -
Subject digest:
ec51a3bd324c16088e29443536746ffccded955b608fddc1c89d9d1e5efc36f3 - Sigstore transparency entry: 1710505005
- Sigstore integration time:
-
Permalink:
Syntropylabs-ai/evalkit_sdk_py@0b7de89c056c5d75dc32a445c55ac783f596fc8d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Syntropylabs-ai
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0b7de89c056c5d75dc32a445c55ac783f596fc8d -
Trigger Event:
workflow_dispatch
-
Statement type: