A smart status bar for loops.
Project description
Description
It provides a smart status bar for loops. It can be used to display the progress of a long running operation
Usage
status_bar(index, total, message)
index : current iteration of our loop
total : total number of iteration of out loop
message : Unique message for each iteration
Example
import smart_status_bar
import time
LOOP = 50
for i in range(LOOP):
smart_status_bar.status_bar(i, LOOP, f"This is iteration {i}")
time.sleep(0.2)
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
smart-status-bar-1.0.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for smart_status_bar-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 071ee3c32f9782b6d2de3385dbbdd20cfc1b7226de0b1ec82905f4f233264e74 |
|
MD5 | 8768fd017e79f06906e6a0c9b6cfef7a |
|
BLAKE2b-256 | 6088d14dcbf961c7b8a9c5b406f13cf6b7841060aa3f42f78caba782a74d62fa |