Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

py-heat as IPython magic

Project description

pypiv pyv Licence Thanks

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

Demo

Demo

In case the demo was too fast, here is a snapshot of the last step of the demo for deeper contemplation :)

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

Contributing

Bug Reports and Feature Requests

Please use issue tracker for reporting bugs or feature requests.

Development

Pull requests are most welcome.

Buy the developer a cup of coffee!

If you found the utility helpful you can buy me a cup of coffee using

Donate

Project details


Download files

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

Files for py-heat-magic, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size py-heat-magic-0.0.2.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page