Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (
Help us improve Python packaging - Donate today!
Project Description
# pprofile_ext
IPython extension for the pprofile line-profiler. The extension allows a user to mark a line or cell
of an IPython notebook and run the [pprofile]( performance profiler
on the marked section of code. The result of the profile run will be written to HTML and can be viewed in
any browser. If the extension is used from within an IPython notebook then the results are displayed inline
in the notebook.

## Installation

The `pprofile_ext` ipython extension canbe installed using pip:

pip install pprofile_ext

## Usage
To load the extension from the IPython REPL or in a notebook cell type and execute

%load_ext pprofile_ext

To view the pprofile_ext help type `%pprofile?`, which will display

%pprofile [-n NAME] [-w WIDTH] [-h HEIGHT] [code [code ...]]

PProfile IPython extension

positional arguments:

optional arguments:
-n NAME, --name NAME Name of the directory relative to the current notebook
in which to store the profile output and the html
version of the profile output; If the directory does
not exist it will be created. If the directory does
exist a new directory will be created that has a
running integer suffix _x. The default name is
-w WIDTH, --width WIDTH
Width in pixels of the iframe displaying the pprofile
output; default 980 (used only in cell mode)
-h HEIGHT, --height HEIGHT
Height in pixels of the iframe displaying the pprofile
output; default 400 (used only in cell mode)

Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pprofile_ext-1.0.1-py2-none-any.whl (15.2 kB) Copy SHA256 Checksum SHA256 py2 Wheel Feb 24, 2017
pprofile_ext-1.0.1.tar.gz (13.2 kB) Copy SHA256 Checksum SHA256 Source Feb 24, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting