This is a really tiny library to add spinners to your code.
From git
pip install git+git://github.com/SilentFrogNet/spinner.git
These are the available SpinnerTypes
Name | Example |
---|---|
CLASSIC | |
SINGLE_PIPES | |
DOUBLE_PIPES | |
VERTICAL | |
DOT | |
DOTS | |
DOTS2 |
Check the spin_test.py
file for a working example.
from spinner import Spinner, SpinnerTypes
with Spinner(prefix="my awesome spinner...", spinner_type=SpinnerTypes.VERTICAL):
time.sleep(5) # Any of your time-consuming task
What's happened so far...
- Simplified the use of the spinner with python context manager
- Added examples into the README file
- First stable release