Proliferate Error Monitoring SDK for Python
Project description
proliferate-ai
Python SDK for Proliferate Error Monitoring.
Installation
pip install proliferate-ai
Quick Start
import proliferate
# Initialize the SDK
proliferate.init(
api_key="pk_your_api_key",
environment="production",
release="1.0.0",
)
# Set user context (optional)
proliferate.set_user(id="user_123", email="user@example.com")
Automatic Error Capture
After initialization, the SDK automatically captures:
- Uncaught exceptions (
sys.excepthook) - Unhandled exceptions in threads (
threading.excepthook)
Manual Error Capture
try:
risky_operation()
except Exception as e:
proliferate.capture_exception(e)
FastAPI Integration
pip install proliferate-ai[fastapi]
from fastapi import FastAPI
from proliferate.integrations.fastapi import ProliferateMiddleware
app = FastAPI()
app.add_middleware(ProliferateMiddleware)
Documentation
See docs.proliferate.dev/sdk/python for full documentation.
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
proliferate_ai-0.2.0.tar.gz
(14.8 kB
view details)
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 proliferate_ai-0.2.0.tar.gz.
File metadata
- Download URL: proliferate_ai-0.2.0.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8a33e91a69ab36acf1b7d710cd3fd77f90dd577eed31a39c263963f69c7625b
|
|
| MD5 |
ded47f433c5642360e609a1d27e52be9
|
|
| BLAKE2b-256 |
00e4a9650258c8dcd2edfae3607579963499ac80e628d222e6f649e5d6aadfdb
|
File details
Details for the file proliferate_ai-0.2.0-py3-none-any.whl.
File metadata
- Download URL: proliferate_ai-0.2.0-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1180468815d159a70ac47f703b4f3523f51dca252868419fbafc6fb721b5dd6d
|
|
| MD5 |
26f4a7e1009ee85c53cd8613f5d793e9
|
|
| BLAKE2b-256 |
74c8bd13cb826e343cf5fecf308e1b83fe13b299bc472299f6515baa4820ec3d
|