Adds warning support for Flask-Debugtoolbar
Installation
flask-debugtoolbar-warnings is available on pypi and installable with:
pip install flask-debugtoolbar-warnings
This package supports Python 2.7, 3.4, 3.5, 3.6 (and presumably Python 3.7 and the pypy versions of these Python versions, though it is untested).
Usage
After installing this package, register it into the flask-debugtoolbar loader by setting the DEBUG_TB_PANELS configuration variable before calling init_app on the DebugToolbar object:
app.config['DEBUG_TB_PANELS'] = [
'flask_debugtoolbar_warnings.WarningsPanel'
]
After the first request through your application, this panel will begin intercepting all warnings that are not ignored or already filtered by being set to once or module, or have been set to error (these throw exceptions rather than pass fully through the warning machinery).
You may view these warnings in the DebugToolbar side panel under the Warnings section. The warnings panel will display the category (e.g. what kind of warning), filename, line number, message and source (if provided).
v0.1.0 (2018-06-xx)
Initial release.
Will it into existence.
Metadata
Release files for flask-debugtoolbar-warnings 0.1.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 | |
|---|---|---|---|---|
| flask-debugtoolbar-warnings-0.1.0.tar.gz | 4.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_debugtoolbar_warnings-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / flask-debugtoolbar-warnings-0.1.0.tar.gz
| Download URL | flask-debugtoolbar-warnings-0.1.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60e0cb34b2ddc64bcf941030a52adeb11b48886df4593b60c2563fa960c86ed9
|
|
BLAKE2b-256 checksum How to use checksums |
aac69636375d2184a946ebfbbc445c1d332510ec6f60cbe5d9244809ba161c5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / flask_debugtoolbar_warnings-0.1.0-py2.py3-none-any.whl
| Download URL | flask_debugtoolbar_warnings-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
44170c26c6d691c00518125882816e415c5ed3512b266706cac4f721d8081235
|
|
BLAKE2b-256 checksum How to use checksums |
71aa64d90f4ae4ad0950c318d350e7b37f3ce350bf334e0ec92ce2ae8313ef7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for flask-debugtoolbar-warnings 0.1.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.
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.