CLI Progress Spinner collection
Project description
PySpinners
CLI Progress Spinner collection
PySpinners is a collection of progress spinners for CLI applications.
Installation
pip install pyspinners
Usage
# Create new spinner instance
# Options 1-30 for different spinner type
# True/False shows both progress and spinner or just the spinner
spinner1 = NewSpinner(1, False)
# Any list or any other iterable can be used
lst = [1, 2, 3, 4, 5]
for i, item in enumerate(lst):
...do stuff...
spinner1.spin(i+1, len(lst))
# Call the .spin() function and give as parameters the iteration number and the length of the iterable.
License
MIT
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
pyspinners-0.0.3.tar.gz
(3.8 kB
view details)
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 pyspinners-0.0.3.tar.gz.
File metadata
- Download URL: pyspinners-0.0.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f01152f21623d3dcc1e471a496b13de39aec619981ddf0409c674bd1388b423c
|
|
| MD5 |
46b8506ab29103a27eef5cfc46ac0add
|
|
| BLAKE2b-256 |
e90515272efe83fac4e67c4316efdb883cff3b5484fb5b99aecf1e3501a47260
|
File details
Details for the file pyspinners-0.0.3-py3-none-any.whl.
File metadata
- Download URL: pyspinners-0.0.3-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef0df6f4d071579efc266fd6ad05ed725877644759716e3d8baf3592bd396540
|
|
| MD5 |
f0f34b53ef17aebd1f4d9809035a6420
|
|
| BLAKE2b-256 |
675aa86a2105d82c9a2e063884834e55322439732b06fc1dfd79f6f3e4c7cef4
|