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 details)
Built Distributions
File details
Details for the file Flask-DebugToolbar-0.13.tar.gz
.
File metadata
- Download URL: Flask-DebugToolbar-0.13.tar.gz
- Upload date:
- Size: 259.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/26.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.48.2 importlib-metadata/4.11.3 keyring/18.0.1 rfc3986/1.4.0 colorama/0.4.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc7e09cdf289e1ae94ae9f92f24fac13605189d750d290166c72efd2b935b3b7 |
|
MD5 | a5617346f4445bd8ab137b656a458605 |
|
BLAKE2b-256 | facce686b9cc1714f3d3a343f56ee6e39809cb1425b6acfd97904733c30d1281 |
File details
Details for the file Flask_DebugToolbar-0.13.0-py3-none-any.whl
.
File metadata
- Download URL: Flask_DebugToolbar-0.13.0-py3-none-any.whl
- Upload date:
- Size: 324.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/26.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.48.2 importlib-metadata/4.11.3 keyring/18.0.1 rfc3986/1.4.0 colorama/0.4.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a7854d936b68cf027f2696f5b2170a921d594e09a8c5a0fe70ed50b88f71962 |
|
MD5 | 7e64a8c10fab17854e9f078204a58737 |
|
BLAKE2b-256 | af73da8f3aed7c074135b6be75b2c95034ab350c8041d4cedc9131c377119637 |
File details
Details for the file Flask_DebugToolbar-0.13-py3-none-any.whl
.
File metadata
- Download URL: Flask_DebugToolbar-0.13-py3-none-any.whl
- Upload date:
- Size: 324.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/26.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.48.2 importlib-metadata/4.11.3 keyring/18.0.1 rfc3986/1.4.0 colorama/0.4.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9d7e915543de7e031875d62217ec13510e06e690ed29307befa86ac997acc47 |
|
MD5 | 30a0fc57acfa313b1ce03e2294e66352 |
|
BLAKE2b-256 | 3f9b8f79e4657ac81a5416eeb0be33b517b1bcad33b6033fb3338a94aa04c4f6 |