Python Library to Track Program Progress
Please make sure that the following Python packages are installed on your system / virtual environment : tqdm, colorama, pyfiglet, psutil
- Download the
main.py
file from this repo and rename it topyprodigy.py
. - Add these lines to the start of your Python script:
import sys
sys.path.append("/location/of/pyprodigy.py")
from pychek import check
check("header", "Your Header Goes Here")
: Print the graffitti header.check("pass", "Your custom pass message here")
check("info", "Your custom info message here")
check("finish")
: program execution finishes here.
PyChek will not work in interactive Python shell.
- Add unique hashes to every check point (based on the location of the file and the line number where it belongs).
- Make an execution graph with these unique checkpoints as nodes.
- Generate the stats for time taken for the code to traverse every edge in the graph (average execution time from one unique checkpoint to another)
- Show this graph and save it.
The package will soon be uploaded for PyPI