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.

Source Distribution

flask-debugtoolbar-sqlalchemy-0.2.0.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

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