Simple loading bar and spinner for the terminal.
Project description
Loading Display
Simple loading bar and spinner for the terminal.
spinner
Prints unicode frames for a spinning animation.
The icons used as frames in the spinner can be changed using the icons parameter:
>>> from loading_display import spinner
>>> s = spinner(icons=['🌑', '🌒', '🌓', '🌔', '🌕', '🌖', '🌗', '🌘'])
>>> while 1:
... next(s)
Loading bar
Prints a progress bar.
Usage:
from loading_display import loading_bar
while loading:
loading_bar(current_progress,
total=total_size,
bar_length=10,
show_percentage=True)
Default appearance:
████████████████████ 100.0 %
The appearance can be customized with the icon parameter.
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
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 loading_display-0.2.0.tar.gz.
File metadata
- Download URL: loading_display-0.2.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea5bb1b597bbc4560c1450d820166aea43dcd066d4027c3b2bc6a29be9ab3fe7
|
|
| MD5 |
36366c49dfa6b3a51f94014a793823e1
|
|
| BLAKE2b-256 |
c52551e5a793c88ec0950420663781b0d2e05e336b823d3e2f2d461a82d0063c
|
File details
Details for the file loading_display-0.2.0-py3-none-any.whl.
File metadata
- Download URL: loading_display-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a020d40551b99eca8f8e7edc152a3deaa85d9b0065f2200030d9484346a5e6d
|
|
| MD5 |
e268d70af4fc45ceb92eaf31f7be5b7a
|
|
| BLAKE2b-256 |
1d35702e0b53aec82291d75f609532036434ddaa5db56f33408392b37987da96
|