• Stars
    star
    912
  • Rank 50,097 (Top 1.0 %)
  • Language
    JavaScript
  • License
    BSD 3-Clause "New...
  • Created almost 13 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A toolbar overlay for debugging Flask applications

Flask Debug-toolbar

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.

More Repositories

1

flask-sqlalchemy

Adds SQLAlchemy support to Flask
Python
4,134
star
2

blinker

A fast Python in-process signal/event dispatching system.
Python
1,647
star
3

flask-caching

A caching extension for Flask
Python
882
star
4

flask-security

Quick and simple security for Flask applications
Python
625
star
5

flask-mail

Flask-Mail adds SMTP mail sending to your Flask applications
Python
595
star
6

flask-jwt

JWT (JSON Web Tokens) for Flask applications
Python
563
star
7

flask-principal

Identity management for Flask applications
Python
494
star
8

flask-session

Server side session extension for Flask
Python
477
star
9

flask-social

OAuth Provider Integration for Flask-Security
Python
245
star
10

flask-openid

Flask-OpenID adds openid support to flask applications
Python
234
star
11

flask-classful

Class based views for Flask
Python
222
star
12

flask-rq

RQ (Redis Queue) integration for Flask applications
Python
217
star
13

cachelib

Extract from werkzeug.cache
Python
131
star
14

flask-jsonschema

JSON request validation with jsonschema for Flask applications
Python
64
star
15

flask-alembic

Integrate Alembic with Flask.
Python
43
star
16

secure-cookie

Secure cookies and sessions for WSGI
Python
32
star
17

flask-environments

Environment tools and configuration for Flask applications
Python
30
star
18

flask-negotiate

Content negotiation for Flask apps
Python
12
star
19

flask-stache

Mustache templates for Flask apps
Python
10
star
20

flask-orjson

A Flask/Quart JSON provider using the fast orjson library.
Python
8
star
21

click-bash4.2-completion

Support Bash 4.2 completion for Click 8.0.x
Python
2
star
22

.github

2
star
23

flask-ujson

A Flask/Quart JSON provider using the fast ujson library.
Python
2
star
24

flask-api-examples

1
star