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
import proliferate
from proliferate.integrations.fastapi import ProliferateMiddleware

proliferate.init(
    api_key="pk_your_api_key",
    environment="production",
    release="1.0.0",
)

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.2.tar.gz (14.9 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.2-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: proliferate_ai-0.2.2.tar.gz
  • Upload date:
  • Size: 14.9 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.2.tar.gz
Algorithm Hash digest
SHA256 cb8758e8b9a7c97e2686cd83f709346a8a1ab268e86237391a973bf4fccc16b3
MD5 b0de30f5742cb043879dfc96f76cc800
BLAKE2b-256 a73bded158e952cf719eaa97b4541f6b4bd05cc649c689fa2de11bea38e78c79

See more details on using hashes here.

File details

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

File metadata

  • Download URL: proliferate_ai-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 14.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 738e7819792410e84b2bc63fd0c74aaaf7b14da9e43203266f69008ce0102b64
MD5 68b170777ad1779843d38094892fec3a
BLAKE2b-256 99ed654f62d519f878bce17d7f08b2e3b29b382b0c46cbd8fe489d84b08b4c3a

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