Traceloop Software Development Kit (SDK) for Python
Project description
traceloop-sdk
Traceloop’s Python SDK allows you to easily start monitoring and debugging your LLM execution. Tracing is done in a non-intrusive way, built on top of OpenTelemetry. You can choose to export the traces to Traceloop, or to your existing observability stack.
Traceloop.init(app_name="joke_generation_service")
@workflow(name="joke_creation")
def create_joke():
completion = openai.ChatCompletion.create(
model="gpt-3.5-turbo",
messages=[{"role": "user", "content": "Tell me a joke about opentelemetry"}],
)
return completion.choices[0].message.content
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 traceloop_sdk-0.52.3.tar.gz.
File metadata
- Download URL: traceloop_sdk-0.52.3.tar.gz
- Upload date:
- Size: 304.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8851dad71e08c41c83d06ec35a84b48b518fbbf1fab62db36d43d1fd432178a0
|
|
| MD5 |
3a83a2fe4642ef655aca04f4be72a6ac
|
|
| BLAKE2b-256 |
9be142c606987c606586dd03cac00ea1cbd30a35fcdf30e7980d74f4976a8816
|
Provenance
The following attestation bundles were made for traceloop_sdk-0.52.3.tar.gz:
Publisher:
release.yml on traceloop/openllmetry
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
traceloop_sdk-0.52.3.tar.gz -
Subject digest:
8851dad71e08c41c83d06ec35a84b48b518fbbf1fab62db36d43d1fd432178a0 - Sigstore transparency entry: 937440634
- Sigstore integration time:
-
Permalink:
traceloop/openllmetry@a1ecf19f5126098fff2457bc660ec7868618b005 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/traceloop
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a1ecf19f5126098fff2457bc660ec7868618b005 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file traceloop_sdk-0.52.3-py3-none-any.whl.
File metadata
- Download URL: traceloop_sdk-0.52.3-py3-none-any.whl
- Upload date:
- Size: 74.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a2718fefe67dacf3bb90d2bc3ca9ad1ea6623f03a5da1b8bd531724e9f15f2a
|
|
| MD5 |
6089416cf08df7607968750ac478b99b
|
|
| BLAKE2b-256 |
04fd7e01696d5b0351e9c1c638d1c25295ee000cc47b9307571a28f9f20cce6e
|
Provenance
The following attestation bundles were made for traceloop_sdk-0.52.3-py3-none-any.whl:
Publisher:
release.yml on traceloop/openllmetry
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
traceloop_sdk-0.52.3-py3-none-any.whl -
Subject digest:
5a2718fefe67dacf3bb90d2bc3ca9ad1ea6623f03a5da1b8bd531724e9f15f2a - Sigstore transparency entry: 937440641
- Sigstore integration time:
-
Permalink:
traceloop/openllmetry@a1ecf19f5126098fff2457bc660ec7868618b005 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/traceloop
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a1ecf19f5126098fff2457bc660ec7868618b005 -
Trigger Event:
workflow_dispatch
-
Statement type: