Testing Site Testing Site

skip to navigation
skip to content

spyder-line-profiler 0.1.0

Plugin to run the python line profiler from within the Spyder IDE.

Project information

Build information

Description

This is a plugin to run the python line profiler from within the python IDE spyder.

The code is an adaptation of the profiler plugin integrated in spyder.

Install instructions

See https://github.com/spyder-ide/spyder/wiki/User-plugins but in short, the following command installs the development version of the line-profiler plugin:

pip install git+git://github.com/spyder-ide/spyder-line-profiler.git

The plugin is not yet included in PyPI.

You need to also install Spyder (version 3.0 or higher) and the line profiler .

Usage

Add a @profile decorator to the functions that you wish to profile then press Shift+F10 (line profiler default) to run the profiler on the current script, or go to Run > Profile line by line.

The results will be shown in a dockwidget, grouped by function. Lines with a stronger color take more time to run.

Screenshot

Line profiler:

 
File Type Py Version Uploaded on Size
spyder_line_profiler-0.1.0-py3-none-any.whl (md5) Python Wheel py3 2017-03-20 14KB
spyder_line_profiler-0.1.0.tar.gz (md5) Source 2017-03-20 14KB