skillfed

pyramid-debugtoolbar

A package which provides an interactive HTML debugger for Pyramid application development

pyramid-debugtoolbar v4.12.1 2.0M downloads/30d#3,402 on PyPI
Permissive license BSD DORMANT released

What it is and what it does

Pyramid_debugtoolbar is a development-time debugging extension for Pyramid web applications that injects an interactive toolbar into HTML responses. It displays detailed information about each HTTP request, including route matching, request variables, response headers, SQL queries (with timing), logging output, and performance metrics. The toolbar is modeled after similar tools in Flask and Django ecosystems and includes a Werkzeug-derived interactive debugger for exception inspection.

The package depends on Pyramid, pyramid-mako for templating, Pygments for syntax highlighting, and importlib-metadata for compatibility. It's designed to be included in your Pyramid configuration during development and disabled in production. Recent versions added session tracking, improved SQLAlchemy 2.x support, and fixed issues with long-running requests and sensitive request attribute access.

Use it for:

  • Inspect HTTP request/response details and route matching during Pyramid app development without adding print statements.
  • Profile SQL query execution and timing to identify N+1 queries and database bottlenecks in your application.
  • Track session and cookie changes across a request lifecycle to debug authentication and state management issues.
  • View application logs and their severity levels inline with request context to correlate errors with specific requests.
  • Interactively debug exceptions with a Werkzeug-powered debugger showing stack traces and local variable inspection.

Worth the install?

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

Pyramid_debugtoolbar injects an interactive HTML debug toolbar into your Pyramid web application during development, showing request details, SQL queries, logging, and performance metrics.

Yes, if you are actively developing a Pyramid application. The toolbar is a standard development utility that provides real-time visibility into request handling, database queries, and logging. Install it as a development dependency only; dormant maintenance is not a concern for a stable, mature tool used only during development. No known vulnerabilities.

Install

pyramid-debugtoolbar on PyPI

pip

pip install pyramid-debugtoolbar

uv

uv add pyramid-debugtoolbar

poetry

poetry add pyramid-debugtoolbar

Installing pyramid-debugtoolbar

Before you install

Low install friction with a pure-Python wheel. Dormant maintenance status (921 days since last release) but no recent vulnerabilities; last release was 2024-02-05 and supports current Python versions through 3.12.

License in practice

BSD license (permissive); you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.

Quickstart

pip install pyramid-debugtoolbar

In your Pyramid app configuration:
from pyramid.config import Configurator
config = Configurator()
config.include('pyramid_debugtoolbar')
app = config.make_wsgi_app()

Requires Pyramid application; toolbar only functions in development mode and injects HTML into responses.

Verify before relying

  • Whether dormant maintenance status affects compatibility with future Pyramid releases beyond 3.12.
  • Performance overhead of toolbar injection on large response bodies or high-traffic development servers.

Package facts

License BSD (permissive)
Python support supports the current Python release (>=3.7)
Install friction low — pure-Python wheel
Runtime dependencies 4 — pyramid, pyramid-mako, Pygments, importlib-metadata
Maintenance dormant — 921 days since the last release
First released
Downloads 1,968,136/month — #3,402 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyramid_debugtoolbar-4.12.1-py3-none-any.whl

Keywords: wsgi, pylons, pyramid, transaction

Framework :: PyramidIntended Audience :: DevelopersLicense :: Repoze Public LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP :: WSGI

Tags

pyramid debug toolbarweb app debugging panelrequest inspection toolsql query profilingwsgi application debuggerpyramid development toolshttp request tracking
pyramid-frameworkdevelopment-debuggingwsgi-middleware

More WSGI packages

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

Flask

Flask is a lightweight WSGI web application…

permissive · top 1,000 on PyPI

gunicorn

Gunicorn is a WSGI and ASGI HTTP server for…

permissive · top 1,000 on PyPI

Django

Django is a high-level Python web framework for…

permissive · top 1,000 on PyPI

Flask-WTF

Flask-WTF integrates WTForms with Flask to…

permissive · top 5,000 on PyPI

Flask-Session

Flask-Session adds server-side session storage…

permissive · top 5,000 on PyPI

aiohttp-debugtoolbar

Adds an interactive debug toolbar to aiohttp…

permissive · top 15,000 on PyPI

pyramid

Pyramid is a Python web framework for building…

permissive · top 5,000 on PyPI

django-debug-toolbar

Displays debug information panels in Django…

permissive · top 5,000 on PyPI

pyramid-tm

Integrates Pyramid web requests with the…

permissive · top 15,000 on PyPI

Flask-DebugToolbar

Flask-DebugToolbar injects a debugging sidebar…

permissive · top 5,000 on PyPI

django-debug-toolbar-template-timings

A Django Debug Toolbar panel that measures and…

unclear · top 15,000 on PyPI

pyramid-jinja2

Integrates the Jinja2 templating engine with…

permissive · top 5,000 on PyPI

django-debug-toolbar-template-profiler

Adds a debug panel to django-debug-toolbar that…

permissive · top 15,000 on PyPI

djdt-flamegraph

Integrates flame graph visualization into…

permissive · top 15,000 on PyPI

cornice

Cornice provides decorators and utilities to…

copyleft · top 15,000 on PyPI