A wrapper for line profiler and memory profiler.
git clone https://github.com/mlehujeur/pytools.git
cd pytools
python -m pip install -e .
# add @profile decorators in your program
# call pymprof.py or pytprof.py instead of python
pymprof.py ./pytools/tester.py
pytprof.py ./pytools/tester.py