Python package for an easy to use progressbar.
Download the repository and and install by running
pip install .
in the terminal.
The code:
from ProgressBar import ProgressBar
from time import sleep
with ProgressBar(estimate_time=True) as progress:
N = 10
for i in range(N):
sleep(.5)
progress.update((i + 1) / N)
produces the following output: