semvec/pypi-packages huggingface dataset:
sentry_smtp_sdk 2020.1.2
This package
Requires Python: >=3.6
Keywords: scroll documentation unit tests

# sentry-smtp - Sentry SDK for Python on a Steroid

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_smtp_sdk import capture_message
from sentry_smtp_sdk import init
from sentry_smtp_sdk import configure_scope


sentry_sdk_key = "https://mydsn@sentry.io/123"
init(sentry_sdk_key)
with configure_scope() as scope:
    scope.set_tag("env", 'local')
    scope.set_tag("project", 'pikachu')

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

raise ValueError()  # Will also create an event.
44/0  # Will also create an event.
```

# License
Licensed under the BSD license, see [`LICENSE`](./LICENSE)