Respan exporter for Superagent (safety-agent) SDK
Project description
Respan Exporter for Superagent
Exports safety-agent (Superagent) calls to Respan traces ingestion.
Installation
pip install respan-exporter-superagent
Usage
import os
from respan_exporter_superagent import create_client
client = create_client(
api_key=os.getenv("RESPAN_API_KEY"),
endpoint=os.getenv("RESPAN_ENDPOINT"), # optional
)
result = await client.guard(
input="hello",
respan_params={
"span_workflow_name": "wf",
"span_name": "sp",
"customer_identifier": "user-123",
},
)
print(result)
Environment variables
RESPAN_API_KEY: API key used for ingest authorization.RESPAN_ENDPOINT: optional override for ingest endpoint.
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 respan_exporter_superagent-0.2.0.tar.gz.
File metadata
- Download URL: respan_exporter_superagent-0.2.0.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.8 Darwin/25.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab41d1b7c64a9928b6aae1fd8c5498ba1fea53662b275d56a2de0173feec9e7f
|
|
| MD5 |
32a30565a230ddb05ad33faf89147425
|
|
| BLAKE2b-256 |
0d19c88a405247a13216b50814886046b8c93f3c5c461eea2142efe91c1463bb
|
File details
Details for the file respan_exporter_superagent-0.2.0-py3-none-any.whl.
File metadata
- Download URL: respan_exporter_superagent-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.12.8 Darwin/25.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a00a864a3d5a3180f9ef09a858687258248d17dab5e2d6042f14658123c36330
|
|
| MD5 |
ce989e8558334b051de1f69f95f6d741
|
|
| BLAKE2b-256 |
d17c81f42c3346df3706605982e954b067b192536fe53f747153afa73e313fda
|