Skip to main content

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.

https://travis-ci.org/flask-debugtoolbar/flask-debugtoolbar.png?branch=master

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


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.1.tar.gz (256.1 kB view details)

Uploaded Source

Built Distribution

Flask_DebugToolbar-0.12.1-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file Flask-DebugToolbar-0.12.1.tar.gz.

File metadata

  • Download URL: Flask-DebugToolbar-0.12.1.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

Hashes for Flask-DebugToolbar-0.12.1.tar.gz
Algorithm Hash digest
SHA256 ce40a72417280a12c89fac04de000153b145d728fd06d7fb91749419ac7af95a
MD5 c912a03da1c0fb85d546cdfe2eff04bd
BLAKE2b-256 beace1b293973e25e3a3a629e9b4e87325dfc407d9a8d50e84423be79be92944

See more details on using hashes here.

File details

Details for the file Flask_DebugToolbar-0.12.1-py3-none-any.whl.

File metadata

  • Download URL: Flask_DebugToolbar-0.12.1-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

Hashes for Flask_DebugToolbar-0.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 65176aaf11d2ba16413beae728a5e2c9e5ca4c828bb3ac9fc342274cabcaa65a
MD5 620b150973c8f07613dd92ba80739223
BLAKE2b-256 f5dd241dac2e235458597c6f8ed7f07de638c93e0579fd9f74d001d9971a3017

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page