Skip to content

andresthor/pbar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

pbar

A configurable progress bar for the linux terminal.

Usage

Very simple and easy to use.

basic

bar = pbar()
bar.set_message('Counting to 1000...')

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

output:

Counting to 1000...             [####################--------------------] 50.0%

timer

tbar = timed_pbar(time=20)
tbar.start()

output:

11.8s                           [########################----------------]  59.0%

About

A progress bar for the terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages