Skip to main content

Flask Debug Toolbar panel for SQLAlchemy

Project description

Flask debug toolbar SQLAlchemy panel

Similar to the builtin SQLAlchemy toolbar but does not require the Flask-SQLAlchemy extension.

Displayed in toolbar:

Toolbar view

Panel details:

Panel view

Install

From the cheese shop:

pip install flask-debugtoolbar-sqlalchemy

Setup

Bootstrap the toolbar as usual and add SQLAlchemyPanel to the list of panels.

from flask import Flask
from flask_debugtoolbar import DebugToolbarExtension

app = Flask(__name__)
app.debug = True

toolbar = DebugToolbarExtension(app)

app.config['DEBUG_TB_PANELS'] += (
    'flask_debugtoolbar_sqlalchemy.SQLAlchemyPanel',
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for flask-debugtoolbar-sqlalchemy, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size flask_debugtoolbar_sqlalchemy-0.2.0-py3-none-any.whl (16.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size flask-debugtoolbar-sqlalchemy-0.2.0.tar.gz (3.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page