Python Guppy Introduction

Python Guppy Introduction


Guppy-PE is a library and programming environment for Python2, currently providing in particular the Heapy subsystem, which supports object and heap memory sizing, profiling and debugging. It also includes a prototypical specification language, the Guppy Specification Language (GSL), which can be used to formally specify aspects of Python programs and generate tests and documentation from a common source.

Note that his package is for Python2 only. There is a fork that is ported and recommended for Python3 at:

Guppy is an umbrella package combining Heapy and GSL with support utilities such as the Glue module that keeps things together.

The guppy top-level package contains the following subpackages:


Documentation files. These are in a package so they get installed at a well-defined place, especially to support interactive help.
Support modules. Contains especially the Glue protocol module.
The Guppy Specification Language implementation. This can be used to create documents and tests from a common source.
The heap analysis toolset. It can be used to find information about the objects in the heap and display the information in various ways.
Bitsets and %u2018nodesets%u2019 implemented in C.

Guppy 3 is a fork of Guppy-PE, created by Sverker Nilsson for Python 2.


You should have Python 3.5, 3.6, 3.7, or 3.8. This package is CPython only; PyPy and other Python implementations are not supported. Python 2 support can be obtained from guppy-pe by Sverker Nilsson, from which this package is forked.

To use the graphical browser, Tkinter is needed. To use the remote monitor, threading must be available.


Install with pip by:

pip install guppy3

More Articles of Aditi Kothiyal:

Name Views Likes
Python AdaBoost Mathematics Behind AdaBoost 408 1
Python PyCaret How to optimize the probability threshold % in binary classification 2051 0
Python K-means Predicting Iris Flower Species 1307 2
Python PyCaret How to ignore certain columns for model building 2470 0
Python PyCaret Experiment Logging 660 0
Python PyWin32 Open a File in Excel 851 0
Python Guppy GSL Introduction 216 2
Python Usage of Guppy With Example 1084 2
Python Naive Bayes Tutorial 540 2
Python Guppy Recent Memory Usage of a Program 885 2
Introduction to AdaBoost 282 1
Python AdaBoost Implementation of AdaBoost 506 1
Python AdaBoost Advantages and Disadvantages of AdaBoost 3643 1
Python K-Means Clustering Applications 317 2
Python Random Forest Algorithm Decision Trees 432 0
Python K-means Clustering PREDICTING IRIS FLOWER SPECIES 450 1
Python Random Forest Algorithm Bootstrap 466 0
Python PyCaret Util Functions 434 0
Python K-means Music Genre Classification 1735 1
Python PyWin Attach an Excel file to Outlook 1520 0
Python Guppy GSL Document and Test Example 243 2
Python Random Forest Algorithm Bagging 379 0
Python AdaBoost An Example of How AdaBoost Works 270 1
Python PyWin32 Getting Started PyWin32 594 0
Python Naive Bayes in Machine Learning 369 2
Python PyCaret How to improve results from hyperparameter tuning by increasing "n_iter" 1714 0
Python PyCaret Getting Started with PyCaret 2.0 343 1
Python PyCaret Tune Model 1238 1
Python PyCaret Create your own AutoML software 312 0
Python PyCaret Intoduction to PyCaret 288 1
Python PyCaret Compare Models 2670 1
Python PyWin Copying Data into Excel 1137 0
Python Guppy Error: expected function body after function declarator 401 2
Python Coding Random forest classifier using xgBoost 232 0
Python PyCaret How to tune "n parameter" in unsupervised experiments 638 0
Python PyCaret How to programmatically define data types in the setup function 1389 0
Python PyCaret Ensemble Model 796 1
Python Random forest algorithm Introduction 218 0
Python k-means Clustering Example 329 1
Python PyCaret Plot Model 1227 1
Python Hamming Distance 701 0
Python Understanding Random forest algorithm 305 0
Python PyCaret Sort a Dictionary by Keys 238 0
Python Coding Random forest classifier using sklearn 331 0
Python Guppy Introduction 361 2
Python How to use Guppy/Heapy for tracking down Memory Usage 1061 2
Python AdaBoost Summary and Conclusion 228 1
Python PyCaret Create Model 355 1
Python k -means Clusturing Introduction 316 2
Python k-means Clustering With Example 344 2