A toolbar overlay for debugging Flask applications.
Reason this release was yanked:
It should have been 0.13.0
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.13.tar.gz
(259.3 kB
view hashes)
Built Distributions
Close
Hashes for Flask_DebugToolbar-0.13.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a7854d936b68cf027f2696f5b2170a921d594e09a8c5a0fe70ed50b88f71962 |
|
MD5 | 7e64a8c10fab17854e9f078204a58737 |
|
BLAKE2b-256 | af73da8f3aed7c074135b6be75b2c95034ab350c8041d4cedc9131c377119637 |
Close
Hashes for Flask_DebugToolbar-0.13-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9d7e915543de7e031875d62217ec13510e06e690ed29307befa86ac997acc47 |
|
MD5 | 30a0fc57acfa313b1ce03e2294e66352 |
|
BLAKE2b-256 | 3f9b8f79e4657ac81a5416eeb0be33b517b1bcad33b6033fb3338a94aa04c4f6 |