Projet

Général

Profil

Aperçu

An easy-to-use python3 and python2 progressbar based on etaprogress.

from progress.bar import bar

# creates the progressbar of the given file
progress_bar = bar(filename='huge_file.txt', frequency=1)

for index, line in enumerate(open('huge_file.txt')):
    # updates the progression and shows the pretty progressbar
    progress_bar.show(index) 

    # do some stuff with line

Installation:
$ git clone https://forge.greyc.fr/git/progressbar
$ cd progressbar
$ python3 setup.py install (--user)

Membres

Manager: Mathieu Valois