A toolbar overlay for debugging Flask applications.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file flask_debugtoolbar-0.16.0.tar.gz
.
File metadata
- Download URL: flask_debugtoolbar-0.16.0.tar.gz
- Upload date:
- Size: 335.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b925d4dcc09205471e5021019dfeb0eb6dabd6c184de16a3496dfb1f342afe1 |
|
MD5 | 15bce5df00e380b39edb93f9fb30fa77 |
|
BLAKE2b-256 | 180b19a29b9354b3c00102a475791093358a30afba43e8b676294e7d01964592 |
File details
Details for the file flask_debugtoolbar-0.16.0-py3-none-any.whl
.
File metadata
- Download URL: flask_debugtoolbar-0.16.0-py3-none-any.whl
- Upload date:
- Size: 413.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2857a58ef20b88cf022a88bb7f0c6f6be1fb91a2e8b2d9fcc9079357a692083e |
|
MD5 | 76faf39a073e6729292d668c7d875fb1 |
|
BLAKE2b-256 | a217f2a647152315561787d2dfc7dcaf452ec83930a31de9d083a7094da404de |