Pulse Python SDK for tracing LLM providers
Project description
pulse-trace-sdk
Official Python SDK for Pulse trace ingestion. The public observe() API records
supported LLM calls and sends them to Pulse as OTLP HTTP JSON at POST /v1/traces —
one llm_call span per provider request plus tool_use spans for tool calls, carrying
provider, model, token, cost, and session attributes.
Install
pip install pulse-trace-sdk
Quick Start
from openai import OpenAI
from pulse_sdk import init_pulse, observe, Provider
init_pulse({"api_key": "pulse_sk_..."})
client = observe(OpenAI(api_key="your-openai-key"), Provider.OPENAI)
client.chat.completions.create(
model="gpt-4o-mini",
messages=[{"role": "user", "content": "Hello"}],
)
Docs
Full docs: https://www.usepulse.dev/docs/
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
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 pulse_trace_sdk-0.2.8.tar.gz.
File metadata
- Download URL: pulse_trace_sdk-0.2.8.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32a87c7e6248d3583cb20b00bcf4f72b0d5e4a1a30345bdbb8aeb920272c84f9
|
|
| MD5 |
85c94468959326a9671f8bd23473aa8c
|
|
| BLAKE2b-256 |
4f06fb9cebfd7a14d07220780222727eca6cd1e6b118590b64e9609871b42836
|
Provenance
The following attestation bundles were made for pulse_trace_sdk-0.2.8.tar.gz:
Publisher:
release.yml on EK-LABS-LLC/trace-sdk-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pulse_trace_sdk-0.2.8.tar.gz -
Subject digest:
32a87c7e6248d3583cb20b00bcf4f72b0d5e4a1a30345bdbb8aeb920272c84f9 - Sigstore transparency entry: 2204729164
- Sigstore integration time:
-
Permalink:
EK-LABS-LLC/trace-sdk-py@893c4ca0cf97192fe635324f115f465ccf8fdd8d -
Branch / Tag:
refs/tags/v0.2.8 - Owner: https://github.com/EK-LABS-LLC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@893c4ca0cf97192fe635324f115f465ccf8fdd8d -
Trigger Event:
push
-
Statement type:
File details
Details for the file pulse_trace_sdk-0.2.8-py3-none-any.whl.
File metadata
- Download URL: pulse_trace_sdk-0.2.8-py3-none-any.whl
- Upload date:
- Size: 1.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b36c3e636e89501cf1aa1950acb764e96a56620f07840f61ef418b86bab320cc
|
|
| MD5 |
d37fbc5911dbe880c839eba82f6e2513
|
|
| BLAKE2b-256 |
5f0088ff4782585452506238e44060e519a9df1c834a76fc8e5e3ea0ad68c07c
|
Provenance
The following attestation bundles were made for pulse_trace_sdk-0.2.8-py3-none-any.whl:
Publisher:
release.yml on EK-LABS-LLC/trace-sdk-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pulse_trace_sdk-0.2.8-py3-none-any.whl -
Subject digest:
b36c3e636e89501cf1aa1950acb764e96a56620f07840f61ef418b86bab320cc - Sigstore transparency entry: 2204729175
- Sigstore integration time:
-
Permalink:
EK-LABS-LLC/trace-sdk-py@893c4ca0cf97192fe635324f115f465ccf8fdd8d -
Branch / Tag:
refs/tags/v0.2.8 - Owner: https://github.com/EK-LABS-LLC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@893c4ca0cf97192fe635324f115f465ccf8fdd8d -
Trigger Event:
push
-
Statement type: