Binary package “python-memprof” in ubuntu bionic

memory profiler for Python (Python 2)

 python-memprof logs the memory used by variables during the execution
 of decorated methods. It creates a report in a text file and you can
 plot the result using "mp_plot".
 .
 This package contains the Python 2 version of memprof.