Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install bottle-debugtoolbar

How to install Bottle-DebugToolbar

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install bottle-debugtoolbar
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.4
0.5Never BuiltWhy not?
0.4 Available View build log
Windows (64-bit)
Mac OS X (10.5+)
0.4
0.5Never BuiltWhy not?
0.4 Available View build log
Linux (32-bit)
0.4
0.5Never BuiltWhy not?
0.4 Available View build log
0.1 Available View build log
Linux (64-bit)
0.5 Available View build log
0.4 Available View build log
0.1 Available View build log
Web
 
License
BSD
Lastest release
version 0.5 on Jan 9th, 2014

This is a port of the flask-debug-toolbar (which is a port of the django-debug-toolbar) for Bottle applications.

Installation

Installing is simple with pip:

$ pip install bottle-debugtoolbar

Usage

Setting up the debug toolbar is simple:

import bottle
from bottle_debugtoolbar import DebugToolbarPlugin

config = {
    'DEBUG_TB_ENABLED': True,
    'DEBUG_TB_INTERCEPT_REDIRECTS': True,
}
plugin = DebugToolbarPlugin(config)
bottle.install(plugin)

Screenshot

https://github.com/sramana/bottle-debugtoolbar/raw/master/docs/images/Bottle_Debug_Toolbar_Screenshot.png

Configuration

The toolbar support several configuration options:

Name Description Default
DEBUG_TB_ENABLED Enable the toolbar? bottle.DEBUG
DEBUG_TB_HOSTS Whitelist of hosts to display toolbar any host
DEBUG_TB_INTERCEPT_REDIRECTS Should intercept redirects? True
DEBUG_TB_PANELS List of module/class names of panels enable all built-in panels

Contributing

Fork us on GitHub

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.