Skip to main content

py-heat as IPython magic

Project description

pypiv pyv Licence

IPython magic command to profile and view your python code as a heat map using py-heat.

Demo

What is the magic command?

%%heat

Setup

Using pip

pip install py-heat-magic

Directly from the repository

git clone https://github.com/csurfer/pyheatmagic.git
python pyheatmagic/setup.py install

Load Extension in IPython

%load_ext heat

Usage

# To view the heatmap
%%heat

# To save the heatmap as a file
%%heat -o file.png

Project details


Download files

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

Source Distribution

py-heat-magic-0.0.1.tar.gz (2.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page