Flask-DebugToolbar
A Flask extension that injects debugging information into rendered HTML pages. Presented as a sidebar with configurable panels of information.
This is a port of the excellent django-debug-toolbar.
Pallets Community Ecosystem
[!IMPORTANT]
This project is part of the Pallets Community Ecosystem. Pallets is the open source organization that maintains Flask; Pallets-Eco enables community maintenance of related projects. If you are interested in helping maintain this project, please reach out on the Pallets Discord server.
Example
Setting up the debug toolbar is simple:
from flask import Flask
from flask_debugtoolbar import DebugToolbarExtension
app = Flask(__name__)
app.config["SECRET_KEY"] = "<replace with a secret key>"
toolbar = DebugToolbarExtension(app)
The toolbar will automatically be injected into Jinja templates when debug mode is enabled.
$ flask -A my_app run --debug
Release files for Flask-DebugToolbar 0.16.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 | |
|---|---|---|---|
| flask_debugtoolbar-0.16.0.tar.gz | 335.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_debugtoolbar-0.16.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 748.3 kB
Release files / flask_debugtoolbar-0.16.0.tar.gz
| Download URL | flask_debugtoolbar-0.16.0.tar.gz |
|---|---|
| Size | 335.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b925d4dcc09205471e5021019dfeb0eb6dabd6c184de16a3496dfb1f342afe1
|
|
BLAKE2b-256 checksum How to use checksums |
180b19a29b9354b3c00102a475791093358a30afba43e8b676294e7d01964592
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / flask_debugtoolbar-0.16.0-py3-none-any.whl
| Download URL | flask_debugtoolbar-0.16.0-py3-none-any.whl |
|---|---|
| Size | 413.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2857a58ef20b88cf022a88bb7f0c6f6be1fb91a2e8b2d9fcc9079357a692083e
|
|
BLAKE2b-256 checksum How to use checksums |
a217f2a647152315561787d2dfc7dcaf452ec83930a31de9d083a7094da404de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|