/sentry-python

The new Python SDK for Sentry.io

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

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