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.1.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for smart_status_bar-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6581437a3d5844a956a67d2196f8afb96dfea864204a59840a7498119728b72 |
|
MD5 | ff46c7e1d265f5f5110fd4a9369a4c2a |
|
BLAKE2b-256 | 12d482d186785683bf9b5d6a10e6629492dbd0b16ae7ea445977cc30f223f5d1 |