Server IP : 192.158.238.246 / Your IP : 18.218.232.140 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python37/share/doc/alt-python37-sentry-sdk/ |
Upload File : |
<p align="center"> <a href="https://sentry.io" target="_blank" align="center"> <img src="https://sentry-brand.storage.googleapis.com/sentry-logo-black.png" width="280"> </a> </p> _Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us [<kbd>**Check out our open positions**</kbd>](https://sentry.io/careers/)_ # sentry-python - Sentry SDK for Python [](https://travis-ci.com/getsentry/sentry-python) [](https://pypi.python.org/pypi/sentry-sdk) [](https://discord.gg/cWnMQeA) This is the next line of the Python SDK for [Sentry](http://sentry.io/), intended to replace the `raven` package on PyPI. ```python 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 [refer to our docs](https://docs.sentry.io/platforms/python/) - Are you coming from raven-python? [Use this cheatsheet](https://docs.sentry.io/platforms/python/migration/) - To learn about internals use the [API Reference](https://getsentry.github.io/sentry-python/) # Contributing to the SDK Please refer to [CONTRIBUTING.md](https://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md). # License Licensed under the BSD license, see [`LICENSE`](https://github.com/getsentry/sentry-python/blob/master/LICENSE)