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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page