skillfed

aiohttp-debugtoolbar

debugtoolbar for aiohttp

aiohttp-debugtoolbar v0.6.1 97.1K downloads/30d#13,172 on PyPI202
Permissive license Apache 2 Active released

What it is and what it does

aiohttp-debugtoolbar is a development middleware that injects an interactive debug toolbar into aiohttp web applications. It provides panels for inspecting HTTP headers, application settings, middleware stack, routes, request variables, and logging output. The toolbar also intercepts exceptions to display formatted tracebacks with source code context, intercepts redirects to show intermediate pages, and includes an interactive Python console for runtime inspection.

The package is a port of pyramid_debugtoolbar adapted for async/await patterns. It requires aiohttp and aiohttp-jinja2 as runtime dependencies and is configured by calling setup() on your application instance. Configuration options control which hosts can access the toolbar, request history limits, and the toolbar's URL path prefix.

Use it for:

  • Inspect HTTP request/response headers and middleware execution order during development
  • Debug exceptions with formatted tracebacks, source code display, and interactive console access
  • Profile request performance and identify slow handlers or middleware
  • Monitor application settings, routes, and request variables in real time
  • Trace redirect chains by intercepting and displaying intermediate redirect pages

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Adds an interactive debug toolbar to aiohttp web applications, displaying request headers, performance metrics, tracebacks, middleware info, and an interactive Python console.

Yes, for development environments. Low install friction, active maintenance through 2026, no known vulnerabilities, and permissive licensing. Useful for debugging aiohttp applications but intended only for development—disable in production via the enabled flag or host restrictions.

Install

aiohttp-debugtoolbar on PyPI

pip

pip install aiohttp-debugtoolbar

uv

uv add aiohttp-debugtoolbar

poetry

poetry add aiohttp-debugtoolbar

Installing aiohttp-debugtoolbar

Before you install

Low friction install with only two runtime dependencies (aiohttp and aiohttp-jinja2). Actively maintained as of May 2026 with recent updates for aiohttp 3.9 compatibility and Python 3.11 support.

License in practice

Apache 2 permissive license allows use in commercial and open-source projects with minimal restrictions.

Quickstart

pip install aiohttp-debugtoolbar

import aiohttp_debugtoolbar
from aiohttp import web

app = web.Application()
aiohttp_debugtoolbar.setup(app)
# app now has debug toolbar middleware attached

Verify before relying

  • Whether the toolbar works with aiohttp versions prior to 3.3 (changelog indicates 3.3+ only, but requires_python is unspecified)

Package facts

License Apache 2 (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 2 — aiohttp, aiohttp-jinja2
Maintenance actively maintained — 999 days since the last release
Last repo commit
First released
Downloads 97,065/month — #13,172 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: aiohttp_debugtoolbar-0.6.1-py3-none-any.whl

Framework :: AsyncIOIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP

Tags

aiohttp debug toolbarweb app debugging middlewareasync request inspectionaiohttp performance profilinginteractive console for aiohttpexception traceback vieweraiohttp request history
debuggingaiohttp-middlewaredevelopment-tools

More WWW/HTTP packages