Skip to main content

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


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)

Uploaded Source

Built Distribution

smart_status_bar-1.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page