Sentry Python SDK
JSON →Official Sentry error monitoring and performance Python SDK. Current version: 2.56.0 (Mar 2026). v2.0 (Jan 2024) removed the Hub class entirely — all Hub-based patterns are broken. Scope API replaced Hub. Integrations (Django, FastAPI, Celery, etc.) must be explicitly imported and passed. traces_sample_rate must be set to enable performance monitoring — omitting it means zero traces sent. enable_tracing deprecated in favor of traces_sample_rate.
Traffic · last 30 days ↑60% vs prev 7d
total hits 26
actors 5 distinct systems
last hit 7d ago human
top countries 🇺🇸 United States · 🇨🇦 Canada · VN · 🇸🇬 Singapore · 🇧🇷 Brazil
Resources
API endpoints
full doc /v1/registry/sentry-sdk
install /v1/registry/sentry-sdk/install
compatibility /v1/registry/sentry-sdk/compatibility