A simple progress bar for console
Project description
Console Progress Bar
It’s a very tiny lib to help devs to print a progress bar in console
Usage
Here a very simple sample:
import time from console_progressbar import ProgressBar pb = ProgressBar(total=100,prefix='Here', suffix='Now', decimals=3, length=50, fill='X') pb.print_progress_bar(2) time.sleep(5) pb.print_progress_bar(25) time.sleep(5) pb.print_progress_bar(50) time.sleep(5) pb.print_progress_bar(95) time.sleep(5) pb.print_progress_bar(100)
Parameters Description
params:
total - Required : total iterations (Int) prefix - Optional : prefix string (Str) suffix - Optional : suffix string (Str) decimals - Optional : positive number of decimals in percent complete (Int) length - Optional : character length of bar (Int) fill - Optional : bar fill character (Str)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file console_progressbar-1.0.2.tar.gz.
File metadata
- Download URL: console_progressbar-1.0.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d443c17c6e055e75f26bddbddd85eb7249c795298b751f525d9ae767d40e6a1
|
|
| MD5 |
d14033c0053ccfa3a23f3f559ae7741b
|
|
| BLAKE2b-256 |
64a6942a09e25c93ed5ee117172e0baf539765920297c131a2d1c96bf9441b1a
|
File details
Details for the file console_progressbar-1.0.2-py3-none-any.whl.
File metadata
- Download URL: console_progressbar-1.0.2-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35f1bac13a9a817fb76384fd0f32a6550beb756f28df4d0da8495e2b49bfc023
|
|
| MD5 |
fadb28c51c135fddcae4e8d792c27668
|
|
| BLAKE2b-256 |
692781d8391e26a1ac159272b337ad111c2a3ec225ee54e04e0dd7b7cbbd6d3c
|