sentry-python

The new Python SDK for Sentry.io

Github stars Tracking Chart

sentry-python - Sentry SDK for Python

Build Status
PyPi page link -- version
Discord

This is the next line of the Python SDK for Sentry, intended to replace the raven package on PyPI.

from sentry_sdk import init, capture_message

init("https://mydsn@sentry.io/123")

capture_message("Hello World")  # Will create an event.

raise ValueError()  # Will also create an event.

To learn more about how to use the SDK:

Are you coming from raven-python?

To learn about internals:

License

Licensed under the BSD license, see LICENSE

Main metrics

Overview
Name With Ownergetsentry/sentry-python
Primary LanguagePython
Program languagePython (Language Count: 5)
Platform
License:MIT License
所有者活动
Created At2018-06-18 22:51:10
Pushed At2025-04-25 11:36:33
Last Commit At2025-04-25 13:36:32
Release Count277
Last Release Name2.27.0 (Posted on )
First Release Name0.1.0-preview1 (Posted on )
用户参与
Stargazers Count2k
Watchers Count78
Fork Count535
Commits Count3k
Has Issues Enabled
Issues Count1637
Issue Open Count170
Pull Requests Count2029
Pull Requests Open Count12
Pull Requests Close Count560
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private