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
Flask-DebugToolbar-0.14.0.tar.gz
(260.4 kB
view hashes)
Built Distribution
Close
Hashes for Flask-DebugToolbar-0.14.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd0435e902a02b2efc1e8cdddca0f4e4c1b746d68c8b860e449984e962766a18 |
|
MD5 | e1284f2e11b0d280426e5fbdbbd4b003 |
|
BLAKE2b-256 | 634ed300353389ba67518448ffcbee510b03f5469c45c0c046f649693fd9435b |
Close
Hashes for Flask_DebugToolbar-0.14.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20ec8637e1494e09cd2a6e1efefcec3f8277fe7292ae9778aa3d0d411127630d |
|
MD5 | 25bf73cafb4b3fbdc75f500bc11241bb |
|
BLAKE2b-256 | b0bf27adafb7a3dbe4f5c9ec969bc37614fce15b535464647d566794908febdb |