Created by: pavdmyt
What is this Python project?
Yaspin provides a full-featured terminal spinner to show the progress during long-hanging operations.
Features:
- Lightweight. No external dependencies
- Runs at all major CPython versions (2.7, 3.4, 3.5, 3.6, 3.7), PyPy and PyPy3
- Supports all (60+) spinners from cli-spinners
- Supports all colors, highlights, attributes and their mixes from termcolor library
- Easy to combine with other command-line libraries, e.g. prompt-toolkit
- Flexible API, easy to integrate with existing code
- User-friendly API for handling POSIX signals
- Safe pipes and redirects:
$ python script_that_uses_yaspin.py > script.log
$ python script_that_uses_yaspin.py | grep ERROR
What's the difference between this Python project and similar ones?
Intuitive and powerful API:
import time
from yaspin import yaspin
with yaspin().white.bold.shark.on_blue as sp:
sp.text = "White bold shark in a blue sea"
time.sleep(5) # time consuming code
Lightweight; Constantly evolving; Flexible and feature-rich API for handling POSIX signals.
--
Anyone who agrees with this pull request could vote for it by adding a