Metadata-Version: 2.1
Name: smart-status-bar
Version: 1.0.3
Summary: A smart status bar for loops.
Home-page: https://github.com/Shreyansh7499/smart-status-bar
Author: Shreyansh Nagpal
Author-email: shreyanshnagpal7499@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# Description

It provides a smart status bar for loops. It can be used to display the progress of a long running operation

# Install

	pip3 install smart-status-bar 

# Usage
	loop:
	    """ Statements """
	    smart_status_bar.status_bar(index, total, message)

	where
	    index : current iteration of our loop
	    total : total number of iteration of out loop
	    message : Unique message for each iteration

# Example
<pre><code>
import smart_status_bar 
import time

ITERATIONS = 50
for i in range(ITERATIONS):
	smart_status_bar.status_bar(i, ITERATIONS, f"This is iteration {i}")
	time.sleep(0.2)
</code></pre>

![Alt text](https://github.com/Shreyansh7499/smart-status-bar/blob/main/Screenshots/Screenshot_1.png?raw=true "Example 1")
<br>
![Alt text](https://github.com/Shreyansh7499/smart-status-bar/blob/main/Screenshots/Screenshot_2.png?raw=true "Example 1")


