Rendering vertical progress bars with custom colors and styles
Project description
ProgressVertical is a Python library for displaying vertical progress bars for command-line interface (CLI) applications.
Designed with a focus on usability and customization, allowing the creation of multi-stage progress animations with configurable colors, styles, and durations, inspired by another library progressbar.
Installation:
pip install progressvertical
Example
from progressvertical import vertical
import time
name_list = ["Mel", "Bianca", "Melissa", "Piqueno", "Netuno", "Merenga"]
print("starting")
for name in vertical(name_list, label="Names"):
time.sleep(0.5)
print("finished")
Example 2
from progressvertical import vertical
import time
name_list = ["Mel", "Bianca", "Melissa", "Piqueno", "Netuno", "Merenga"]
numbers_list = [10, 20, 30, 40, 50]
color_list = ["vermelho", "verde", "azul", "amarelo"]
print("starting")
for items in vertical(
name_list, numbers_list, color_list,
labels=["Names", "Numbers", "Colors"],
colors=["cyan", "green", "magenta"],
height=5,
spacing=5
):
time.sleep(0.5)
print("finished")
Exemple 3
from progressvertical import vertical
import time
name_list = ["Mel", "Bianca", "Melissa", "Piqueno", "Netuno", "Merenga"]
print("starting")
progress_vertical = vertical(name_list, label="Names")
index = 0
while index < len(name_list):
next(progress_vertical)
time.sleep(0.5)
index += 1
print("finished")
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file progressvertical-0.2.3.tar.gz.
File metadata
- Download URL: progressvertical-0.2.3.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c095389de842de03b25d543994d762bab46cfb857554d5954ed5e6bc5e74baeb
|
|
| MD5 |
377594b9eab318e27996179b628505ea
|
|
| BLAKE2b-256 |
eb5c0ab7d762a566a570021088a98b8ad559b2b42746171f906c90db66dbada6
|
File details
Details for the file progressvertical-0.2.3-py3-none-any.whl.
File metadata
- Download URL: progressvertical-0.2.3-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fdc38dcf42fb6d864475d24b2ef8348aea11f717e543a65342b569ca431865d
|
|
| MD5 |
e0bd7bd3a93ed52d9737b65fbefa61c5
|
|
| BLAKE2b-256 |
091853789b953e7864d099ac64f7af02f250142ea47e4a8809569cf7901f25dd
|