A toolbar overlay for debugging Flask applications.
Reason this release was yanked:
Fails due to missing `packaging` import, use 0.14.1 instead.
Project description
This is a port of the excellent django-debug-toolbar for Flask applications.
Installation
Installing is simple with pip:
$ pip install flask-debugtoolbar
Usage
Setting up the debug toolbar is simple:
from flask import Flask from flask_debugtoolbar import DebugToolbarExtension app = Flask(__name__) # the toolbar is only enabled in debug mode: app.debug = True # set a 'SECRET_KEY' to enable the Flask session cookies 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 on. In production, setting app.debug = False will disable the toolbar.
See the documentation for more information.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Flask-DebugToolbar-0.14.0.tar.gz.
File metadata
- Download URL: Flask-DebugToolbar-0.14.0.tar.gz
- Upload date:
- Size: 260.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd0435e902a02b2efc1e8cdddca0f4e4c1b746d68c8b860e449984e962766a18
|
|
| MD5 |
e1284f2e11b0d280426e5fbdbbd4b003
|
|
| BLAKE2b-256 |
634ed300353389ba67518448ffcbee510b03f5469c45c0c046f649693fd9435b
|
File details
Details for the file Flask_DebugToolbar-0.14.0-py3-none-any.whl.
File metadata
- Download URL: Flask_DebugToolbar-0.14.0-py3-none-any.whl
- Upload date:
- Size: 324.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20ec8637e1494e09cd2a6e1efefcec3f8277fe7292ae9778aa3d0d411127630d
|
|
| MD5 |
25bf73cafb4b3fbdc75f500bc11241bb
|
|
| BLAKE2b-256 |
b0bf27adafb7a3dbe4f5c9ec969bc37614fce15b535464647d566794908febdb
|