A toolbar overlay for debugging Flask applications.
Reason this release was yanked:
`setup.cfg` has a problem, we'll push a fix later this week.
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.12.0.tar.gz
(256.1 kB
view details)
Built Distribution
File details
Details for the file Flask-DebugToolbar-0.12.0.tar.gz
.
File metadata
- Download URL: Flask-DebugToolbar-0.12.0.tar.gz
- Upload date:
- Size: 256.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fc890636fd422fa77eb6b37a9864c4afe5fc2dd2d76972f80d954a434f8a283 |
|
MD5 | 97e5b2209f5c04e15bc18cb6fbbc21d0 |
|
BLAKE2b-256 | 2d26665b24a509564c8440a172b274226a1912ad078cff8566df4e2e9032e6dc |
File details
Details for the file Flask_DebugToolbar-0.12.0-py3-none-any.whl
.
File metadata
- Download URL: Flask_DebugToolbar-0.12.0-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cdc311f3594da76834d6e996a389025d5d0c5c715de566ef9f579bdedffd9fa |
|
MD5 | 816b34d50f4234ac5a584337e6e78a40 |
|
BLAKE2b-256 | 383b42e25dc85c775a1cbdc9d15f08468e35afb7191af7837b8925789178650c |