django-sentry-auto-setup
Handsfree setup of your Django project inside of Sentry!
Tired of setting up Sentry by hand? Me too! So here is a little package that quickly sets up a Django project automatically.
Install
pip install django-sentry-auto-setup
Configure
Set these values in your environment or your Django settings file:
SENTRY_AUTH_TOKEN SENTRY_ENABLE_AUTO_SETUP SENTRY_HOST # Include the protocal (ex https://) SENTRY_ORGANIZATION_SLUG SENTRY_PROJECT_NAME SENTRY_PROJECT_SLUG SENTRY_TEAM_SLUG
If you need to further configure the Sentry SDK also set this in Django settings:
SENTRY_SDK_KWARGS
Finally, add this to your settings file
INSTALLED_APPS = [
...
'coco.dev.django_sentry',
...
]
Making Changes & Contributing
This project uses pre-commit, please make sure to install it before making any changes:
pip install pre-commit cd django-sentry-auto-setup pre-commit install
It is a good idea to update the hooks to the latest version:
pre-commit autoupdate
Don’t forget to tell your contributors to also install and use pre-commit.
Note
This project has been set up using PyScaffold 4.6. For details and usage information on PyScaffold see https://pyscaffold.org/.
Metadata
Release files for django-sentry-auto-setup 1.0.3
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 |
|---|---|---|---|---|
| django_sentry_auto_setup-1.0.3.tar.gz | 23.5 kB | Without provenance | Details for django_sentry_auto_setup-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_sentry_auto_setup-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for django_sentry_auto_setup-1.0.3-py3-none-any.whl |
Total release size: 30.1 kB
Release files / django_sentry_auto_setup-1.0.3.tar.gz
| Download URL | django_sentry_auto_setup-1.0.3.tar.gz |
|---|---|
| Size | 23.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49a2dca12265a50daa13608b741ba51381d1271acfbe964af036d6f75bf157c8
|
|
BLAKE2b-256 checksum How to use checksums |
1301ad8d97c056929098c6cbb0674d01acb171a41ecfb731f02cdd914d52ae0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Release files / django_sentry_auto_setup-1.0.3-py3-none-any.whl
| Download URL | django_sentry_auto_setup-1.0.3-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91f05f5a7a75b43ac6b576ce2d4ee2165a1e1b8d94f948b60a400333553e2e09
|
|
BLAKE2b-256 checksum How to use checksums |
7328dd4ab8ccb6d1318c60c95b960085811209651999e8d23f7bd5e89e815a1a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for django-sentry-auto-setup 1.0.3
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.