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.4.0.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file minibar-0.4.0.tar.gz
.
File metadata
- Download URL: minibar-0.4.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54f81c46c2a9bfa6cd250c3b5c065c1ebf9c03db1a272b5b3a25154714acae24 |
|
MD5 | a3768a7f948871d8e47b146053265100 |
|
BLAKE2b-256 | 57f3fecf00ba7ec1989aa55d98be1eccd26a9c38a9cbe3ec70487908a8749ba1 |
File details
Details for the file minibar-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: minibar-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 129d8582b6ec96c6513537a3ad504215a83e830b88a971737e15df147bb8e6e9 |
|
MD5 | 0bbdf41e028a4e6c75dfbd59660b6328 |
|
BLAKE2b-256 | 6c608554f591f2a5a830c06070397df765d2cce36277459f3cb4ff2c2fa08369 |