Simple text progress bar library
Project description
A (WIP) python progress bar
Installing
pip install minibar
Usage
import minibar
import time
for i in minibar.bar(range(100)):
time.sleep(0.05)
Output:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
minibar-0.5.0.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for minibar-0.5.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fcb9c63de04a131ce6bc6fe83908079203d6aaa55a04e03e4bad01e6d792b42 |
|
MD5 | e58fa9dcf8574cb3274377a8d96f4ac2 |
|
BLAKE2b-256 | d738dca571f56ed876794b3eaa17c2a97d1e9413931e719d43a2e729ae868ccb |