# aiohttp-debugtoolbar **Repository Path**: mirrors_samuelcolvin/aiohttp-debugtoolbar ## Basic Information - **Project Name**: aiohttp-debugtoolbar - **Description**: aiohttp_debugtoolbar is library for debugtoolbar support for aiohttp - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-03-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README aiohttp-debugtoolbar ==================== .. image:: https://travis-ci.org/aio-libs/aiohttp-debugtoolbar.svg?branch=master :target: https://travis-ci.org/aio-libs/aiohttp-debugtoolbar :alt: |Build status| .. image:: https://codecov.io/gh/aio-libs/aiohttp-debugtoolbar/branch/master/graph/badge.svg :target: https://codecov.io/gh/aio-libs/aiohttp-debugtoolbar :alt: |Coverage status| **aiohttp_debugtoolbar** provides a debug toolbar for your aiohttp_ web application. Library is port of pyramid_debugtoolbar_ and still in early development stages. Basic functionality has been ported: * basic panels * intercept redirects * intercept and pretty print exception * interactive python console * show source code .. image:: https://raw.githubusercontent.com/aio-libs/aiohttp_debugtoolbar/master/demo/aiohttp_debugtoolba_sceenshot.png Ported Panels ------------- ``HeaderDebugPanel``, ``PerformanceDebugPanel``, ``TracebackPanel``, ``SettingsDebugPanel``, ``MiddlewaresDebugPanel``, ``VersionDebugPanel``, ``RoutesDebugPanel``, ``RequestVarsDebugPanel``, ``LoggingPanel`` Help Needed ----------- Are you coder looking for a project to contribute to python/asyncio libraries? This is the project for you! Install and Configuration ------------------------- :: $ pip install aiohttp_debugtoolbar In order to plug in ``aiohttp_debugtoolbar``, call ``aiohttp_debugtoolbar.setup`` on your app. .. code:: python import aiohttp_debugtoolbar app = web.Application(loop=loop) aiohttp_debugtoolbar.setup(app) Full Example ------------ .. code:: python import asyncio import jinja2 import aiohttp_debugtoolbar import aiohttp_jinja2 from aiohttp import web @aiohttp_jinja2.template('index.html') def basic_handler(request): return {'title': 'example aiohttp_debugtoolbar!', 'text': 'Hello aiohttp_debugtoolbar!', 'app': request.app} @asyncio.coroutine def exception_handler(request): raise NotImplementedError @asyncio.coroutine def init(loop): # add aiohttp_debugtoolbar middleware to you application app = web.Application(loop=loop) # install aiohttp_debugtoolbar aiohttp_debugtoolbar.setup(app) template = """