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.1.1.tar.gz
(15.3 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.1.1.tar.gz.
File metadata
- Download URL: proliferate_ai-0.1.1.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dd4e09d3f0e8b6ae1d2ba43f69c31254e4e8a674ba352c1312e29d310a2c00f
|
|
| MD5 |
1c7bf67945365a03efd98925c523540a
|
|
| BLAKE2b-256 |
3e0a776682415128eaebdaf65146ed09fe99fe31a6edc465e5ba1807ade729ac
|
File details
Details for the file proliferate_ai-0.1.1-py3-none-any.whl.
File metadata
- Download URL: proliferate_ai-0.1.1-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.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80439369a2ad1161402692e0623eee836408de7e74516c433fb9af5dfa92c765
|
|
| MD5 |
4de962d8c4f535b23fb4ce1657b43637
|
|
| BLAKE2b-256 |
4706c8bbd6632b70c1c2276ec5477ab890b31692a84418888a3a167d39cf8861
|