GithubHelp home page GithubHelp logo

ryentzer / flask-debugtoolbar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pallets-eco/flask-debugtoolbar

0.0 0.0 0.0 1.1 MB

A toolbar overlay for debugging Flask applications

Home Page: https://flask-debugtoolbar.rtfd.io/

License: BSD 3-Clause "New" or "Revised" License

JavaScript 73.26% Python 16.14% CSS 4.17% HTML 6.43%

flask-debugtoolbar's Introduction

Flask Debug-toolbar

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.

flask-debugtoolbar's People

Contributors

mgood avatar mvantellingen avatar jeffwidman avatar greyli avatar nickjj avatar dosenpfand avatar macnewbold avatar evoloshchuk avatar dhaaker avatar miettal avatar caffeinatedmike avatar juzzbott avatar natecollins avatar timgates42 avatar runeh avatar rozza avatar ltvolks avatar defuz avatar frafra avatar zaw007 avatar christopherpickering avatar jnnkb avatar dadavec avatar yaser-amiri avatar rconradharris avatar pgiraud avatar pmlandwehr avatar nrbgt avatar mlenzen avatar meganschanz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.