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.2.4.tar.gz
(3.6 kB
view details)
File details
Details for the file minibar-0.2.4.tar.gz
.
File metadata
- Download URL: minibar-0.2.4.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c8187cc8954c47db0e81d997c7edd266222f8e3651801c413df422fef8bd4e8 |
|
MD5 | 3d14bcc25ee0067acea38f3b916297e3 |
|
BLAKE2b-256 | fe7f92a1959f6b454a2e7761638dc5f489cb7e246d68c2611814fbd2bd742dd7 |