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 details)
Built Distribution
File details
Details for the file minibar-0.5.0.tar.gz
.
File metadata
- Download URL: minibar-0.5.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da7d1f8ccf4e7fe3b9952ab9dc6f9cee308f52a8c0903747a606c4d8b0353a2c |
|
MD5 | 7d6ca9c46db6529b6c6c9581d4df4d91 |
|
BLAKE2b-256 | 1234f1d8396d246f9649e164208d9c28e3c2bdb91077c59f86368b10fba36324 |
Provenance
File details
Details for the file minibar-0.5.0-py2.py3-none-any.whl
.
File metadata
- Download URL: minibar-0.5.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fcb9c63de04a131ce6bc6fe83908079203d6aaa55a04e03e4bad01e6d792b42 |
|
MD5 | e58fa9dcf8574cb3274377a8d96f4ac2 |
|
BLAKE2b-256 | d738dca571f56ed876794b3eaa17c2a97d1e9413931e719d43a2e729ae868ccb |