Emmett-Sentry
Emmett-Sentry is an Emmett framework extension integrating Sentry monitoring platform.
Emmett-Sentry is compatible both with Emmett and Emmett55.
Installation
You can install Emmett-Sentry using pip:
pip install emmett-sentry
And add it to your Emmett application:
from emmett_sentry import Sentry
sentry = app.use_extension(Sentry)
Configuration
Here is the complete list of parameters of the extension configuration:
| param | default | description |
|---|---|---|
| dsn | Sentry project's DSN | |
| environment | development | Application environment |
| release | Application release | |
| auto_load | True |
Automatically inject extension on routes |
| sample_rate | 1 | Error sampling rate |
| integrations | List of integrations to pass to the SDK | |
| enable_tracing | False |
Enable tracing on routes |
| tracing_sample_rate | Traces sampling rate | |
| tracing_exclude_routes | List of specific routes to exclude from tracing | |
| trace_websockets | False |
Enable tracing on websocket routes |
| trace_orm | True |
Enable tracing on ORM queries |
| trace_templates | True |
Enable tracing on templates rendering |
| trace_sessions | True |
Enable tracing on sessions load/store |
| trace_cache | True |
Enable tracing on cache get/set |
| trace_pipes | False |
Enable tracing on pipes |
| sdk_opts | {} |
Additional configuration for the Sentry SDK |
Usage
The extension exposes two methods to manually track events:
- exception
- message
You call these methods directly within your code:
# track an error
try:
1 / 0
except Exception:
sentry.exception()
# track a message
sentry.message("some event", level="info")
License
Emmett-Sentry is released under BSD license.
Metadata
Release files for emmett-sentry 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| emmett_sentry-0.10.0.tar.gz | 7.5 kB | With provenance | Details for emmett_sentry-0.10.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| emmett_sentry-0.10.0-py3-none-any.whl | Python 3 | none | any | Details for emmett_sentry-0.10.0-py3-none-any.whl |
Total release size: 16.5 kB
Release files / emmett_sentry-0.10.0.tar.gz
| Download URL | emmett_sentry-0.10.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
357d6d6d9f016764150f7535b9430540b82043408c6a39146d567a7f27158e39
|
|
BLAKE2b-256 checksum How to use checksums |
0296cf1ccadfb2783fc9e0be750f43080264eee3b333055f45c4396ea642f7df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logRelease files / emmett_sentry-0.10.0-py3-none-any.whl
| Download URL | emmett_sentry-0.10.0-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2455646f474d6f74fce9c893bd14a8d790b6e2159da2b136008ea31da8089182
|
|
BLAKE2b-256 checksum How to use checksums |
f41a60a0d232eeed063e5a5b1601ebc3211ce269142041104f5e4307e395acfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logSecurity for emmett-sentry 0.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for emmett_sentry-0.10.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.