Debug Toolbar
🐞A debug toolbar for FastAPI based on the original django-debug-toolbar.🐞
Swagger UI & GraphQL are supported.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| fastapi_debug_toolbar-0.6.3.tar.gz | 26.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|