Skip to main content

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.1.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

proliferate_ai-0.2.1-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file proliferate_ai-0.2.1.tar.gz.

File metadata

  • Download URL: proliferate_ai-0.2.1.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

Hashes for proliferate_ai-0.2.1.tar.gz
Algorithm Hash digest
SHA256 eed9f81fedddb02e9c7f7910726400368e8dc2fbfec7298adb8630ae53c5b118
MD5 e9df5142bcd3074da6ebad402e73b0b1
BLAKE2b-256 2a49dccd4b0f63d8f77c54735d79e89f466aec7010ae5deb1103f3269529ea03

See more details on using hashes here.

File details

Details for the file proliferate_ai-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: proliferate_ai-0.2.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.11.14

File hashes

Hashes for proliferate_ai-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fcaae304d5308e4bdb480e0a21df61b2d7ee3803a384e60ee65e3e1d9a551376
MD5 8cf4b720df001162b0de6fef9773e8a8
BLAKE2b-256 91a5b1d144b643e7821108428c95cd796a27ea9775729a37fc0899c670aae131

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page