console-progress-bar

Display a progressBar in the console


Keywords
function, progress, bar, console
License
MIT
Install
pip install console-progress-bar==0.1

Documentation

A simple console progress bar for Python 3

progressBar is a simple progress bar that can show in the text console.
demo
Like the GIF shows, this tool can disply the folloing information.
explain

Install

pip install console-progress-bar

Usage

It is super easy to use.

from progressBar import ProcessBar

bar = ProcessBar(99)

for i in range(1, 100):
    time.sleep(0.1)
    bar.update()

Explain:

from progressBar import ProcessBar

# initial bar object with the total number of task
# it will print the title of the process bar
bar = ProcessBar(99)

for i in range(1, 100):
    time.sleep(0.1)
    # Updata for each completed task,
    bar.update()