Skip to main content

FastAPI Debug Toolbar

FastAPI Debug Toolbar

🐞A debug toolbar for FastAPI based on the original django-debug-toolbar.🐞
Swagger UI & GraphQL are supported.

Test Coverage Codacy Package version


Documentation: https://fastapi-debug-toolbar.domake.io


Installation

pip install fastapi-debug-toolbar

Quickstart

Add DebugToolbarMiddleware middleware to your FastAPI application:

from debug_toolbar.middleware import DebugToolbarMiddleware
from fastapi import FastAPI

app = FastAPI(debug=True)
app.add_middleware(DebugToolbarMiddleware)

SQLAlchemy

Please make sure to use the "Dependency Injection" system as described in the FastAPI docs and add the SQLAlchemyPanel to your panel list:

app.add_middleware(
    DebugToolbarMiddleware,
    panels=["debug_toolbar.panels.sqlalchemy.SQLAlchemyPanel"],
)

Tortoise ORM

Add the TortoisePanel to your panel list:

app.add_middleware(
    DebugToolbarMiddleware,
    panels=["debug_toolbar.panels.tortoise.TortoisePanel"],
)

Metadata

Release files for fastapi-debug-toolbar 0.6.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastapi-debug-toolbar 0.6.3
File Size Uploaded
fastapi_debug_toolbar-0.6.3.tar.gz 26.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastapi-debug-toolbar 0.6.3
File Interpreter ABI Platform
fastapi_debug_toolbar-0.6.3-py3-none-any.whl Python 3 none any Details

Total release size: 69.8 kB

Release files / fastapi_debug_toolbar-0.6.3.tar.gz

Download URL fastapi_debug_toolbar-0.6.3.tar.gz
Size 26.9 kB
Tags Source
SHA-256 checksum
How to use checksums
15ff6828f9432c786af39f23a2d814ef2af516964b5a9a856444de135a78b2af
BLAKE2b-256 checksum
How to use checksums
ace6c228493e929eeb2b9e61806a63e78c3c0bec4e22ddee99f321ffba4fa64a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / fastapi_debug_toolbar-0.6.3-py3-none-any.whl

Download URL fastapi_debug_toolbar-0.6.3-py3-none-any.whl
Size 42.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
077b5ffeb10426c49387ef090cf307a316d5c71c69bbffe270d9898d2554429e
BLAKE2b-256 checksum
How to use checksums
a709b01c8c60d608e93faa257a9a3fc9a9739c70c9ac926edfbbe92baebbf33b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page