Simple Loading/Progress Bar for python
Project description
Python Simple Loading Bar
This is very simple and customizable loading/progress bar.
Usage:
from simplebar import loading
loading(LOADING_BAR_RANGE=50, LOADING_MAX_VAL=100, LOADING_TIME=0.1, LOOP_RANGE=10,
fg_text_color="green", bg_text_color="black", text_style="bold",
fg_value_color="white", bg_value_color="black", value_style="normal",
symbol_load='#', symbol_bg='.')
Help:
LOADING_BAR_RANGE # Change length of Loading bar.
LOADING_MAX_VAL # Values upto which you want loading bar.
LOADING_TIME # Stepwise wait time for loading bar (seconds).
LOOP_RANGE # Loop size where you want to use loading e-g for i in range(20), LOOP_RANGE=20.
loop_value # iteration value e-g i, for i in range(20).
fg_text_color # Symbols text color in the bar.
bg_text_color # Symbols background color in the bar.
text_style # Style of symbol BOLD,NORMAL.
fg_value_color # Value text color at end of bar.
bg_value_color # Value background color at end of bar.
value_style # Style of value at end of bar BOLD,NORMAL.
symbol_load # Symbol to use in loading bar.
symbol_bg # Background symbol to use in loading bar.
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
simple-bar-0.0.2.tar.gz
(3.9 kB
view hashes)
Built Distribution
Close
Hashes for simple_bar-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a897a142e9ed4a665524b7d26af15edfe6f087e4a7f5cdb79b5f5aabe46de926 |
|
MD5 | 1068345bc8c3932cbb0c65833a22b579 |
|
BLAKE2b-256 | c4567cdb115e1e349626dc65e791704896b37fd146c295ccaee921e4fa120717 |