Skip to content

sirlark/minibar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minibar

A (WIP) python progress bar

Travis CI build status

Installing

pip install minibar

Usage

import minibar
import time

for i in minibar.bar(range(100)):
    time.sleep(0.05)

Output:

Progress bar

Minibar can be customized

template = "{i}/{total} {bar} {elapsed}s {eta}"

for i in minibar(range(100), template=template):
    time.sleep(0.05)

The following widgets are avaliable:

  • {i} The numeric progress counter.
  • {total} The total value.
  • {bar} The progress bar.
  • {elapsed} The time ellapsed in seconds.
  • {eta} The estimated time to finish.

About

Progress bar for python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%