All Projects → csurfer → Pyheat

csurfer / Pyheat

Licence: mit
pprofile + matplotlib = Python program profiled as an awesome heatmap!

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pyheat

Calendar Heatmap
Calendar heatmap with matplotlib and random data
Stars: ✭ 76 (-84.52%)
Mutual labels:  matplotlib, heatmap
heatmaps
Better heatmaps in Python
Stars: ✭ 117 (-76.17%)
Mutual labels:  heatmap, matplotlib
tapmap
Command line keyboard heatmap generator.
Stars: ✭ 19 (-96.13%)
Mutual labels:  heatmap, matplotlib
Datacleaner
The premier open source Data Quality solution
Stars: ✭ 391 (-20.37%)
Mutual labels:  profiling
Tufte
Simple profiling and performance monitoring for Clojure/Script
Stars: ✭ 401 (-18.33%)
Mutual labels:  profiling
Ai competitions
AI比赛相关信息汇总
Stars: ✭ 443 (-9.78%)
Mutual labels:  matplotlib
Processhacker
A free, powerful, multi-purpose tool that helps you monitor system resources, debug software and detect malware.
Stars: ✭ 6,285 (+1180.04%)
Mutual labels:  profiling
Scipy Lecture Notes Zh Cn
中文版scipy-lecture-notes. 网站下线, 以离线HTML的形式继续更新, 见release.
Stars: ✭ 362 (-26.27%)
Mutual labels:  matplotlib
Pynamical
Pynamical is a Python package for modeling and visualizing discrete nonlinear dynamical systems, chaos, and fractals.
Stars: ✭ 458 (-6.72%)
Mutual labels:  matplotlib
Mobilepose Pytorch
Light-weight Single Person Pose Estimator
Stars: ✭ 427 (-13.03%)
Mutual labels:  heatmap
Chartpy
Easy to use Python API wrapper to plot charts with matplotlib, plotly, bokeh and more
Stars: ✭ 426 (-13.24%)
Mutual labels:  matplotlib
Plibsys
Highly portable C system library: threads and synchronization primitives, sockets (TCP, UDP, SCTP), IPv4 and IPv6, IPC, hash functions (MD5, SHA-1, SHA-2, SHA-3, GOST), binary trees (RB, AVL) and more. Native code performance.
Stars: ✭ 402 (-18.13%)
Mutual labels:  profiling
Matplotlib Cn
matplotlib中文文档
Stars: ✭ 445 (-9.37%)
Mutual labels:  matplotlib
Scalene
Scalene: a high-performance, high-precision CPU, GPU, and memory profiler for Python
Stars: ✭ 4,819 (+881.47%)
Mutual labels:  profiling
Trace Nodejs
Trace is a visualised distributed tracing platform designed for microservices.
Stars: ✭ 471 (-4.07%)
Mutual labels:  profiling
Stats Maths With Python
General statistics, mathematical programming, and numerical/scientific computing scripts and notebooks in Python
Stars: ✭ 381 (-22.4%)
Mutual labels:  matplotlib
Data Science Ipython Notebooks
Data science Python notebooks: Deep learning (TensorFlow, Theano, Caffe, Keras), scikit-learn, Kaggle, big data (Spark, Hadoop MapReduce, HDFS), matplotlib, pandas, NumPy, SciPy, Python essentials, AWS, and various command lines.
Stars: ✭ 22,048 (+4390.43%)
Mutual labels:  matplotlib
Clockwork Chrome
Clockwork - php dev tools integrated to your browser - Chrome extension
Stars: ✭ 415 (-15.48%)
Mutual labels:  profiling
Mpl Scatter Density
⚡️ Fast scatter density plots for Matplotlib ⚡️
Stars: ✭ 413 (-15.89%)
Mutual labels:  matplotlib
Colorcet
A set of useful perceptually uniform colormaps for plotting scientific data
Stars: ✭ 438 (-10.79%)
Mutual labels:  matplotlib

pyheat

pypiv pyv Build Status Coverage Status Licence Thanks

Profilers are extremely helpful tools. They help us dig deep into code, find and understand performance bottlenecks. But sometimes we just want to lay back, relax and still get a gist of the hot zones in our code.

A picture is worth a thousand words.

So, instead of presenting the data in tabular form, if presented as a heatmap visualization, it makes comprehending the time distribution in the given program much easier and quicker. That is exactly what is being done here !

Demo

Demo

Scroll Demo

ScrollDemo

Features

  • Simple CLI interface.
  • No complicated setup.
  • Heatmap visualization to view hot zones in code.
  • Ability to export the heatmap as an image file.
  • Ability to scroll, to help view heatmap of large py files.

Setup

Using pip

pip install py-heat

Directly from the repository

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

Usage

As a command

# To view the heatmap.
pyheat <path_to_python_file>
# To output the heatmap as a file.
pyheat <path_to_python_file> --out image_file.png
pyheat --help

As a module

from pyheat import PyHeat
ph = PyHeat(<file_path>)
ph.create_heatmap()
# To view the heatmap.
ph.show_heatmap()
# To output the heatmap as a file.
ph.show_heatmap('image_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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].