Simple progress bar for terminal
Project description
Ez-Bar
Very simple customizable progress bar.
Installation
pip install py-ezbar
Usage and Examples
import, configure and use it's easy
from py_ezbar import ProgressBar, BarStyles, BarColors
progress_bar = ProgressBar(color=BarColors.YELLOW, style=BarStyles.DEFAULT, show_fractions=True)
t = range(327)
x = [fake.bs() for _ in range(5)]
y = {
"1": "a",
"2": "b",
"3": "c",
"4": "d",
"5": "e",
}
for i in t:
progress_bar(index=i, iterable=t, current=i)
sleep(0.01)
for i, v in enumerate(x):
progress_bar(index=i, iterable=x, current=v)
sleep(0.01)
for i, (k, v) in enumerate(y.items()):
progress_bar(index=i, iterable=x, current=v)
sleep(0.01)
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
py_ezbar-0.1.2.tar.gz
(3.9 kB
view hashes)