프로젝트
GitHub에서 보기
click-contrib/click-spinner
소개
명령줄 앱이 실행 중임을 간편하게 표시할 수 있습니다.
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalClick Spinner
Sometimes you would just like to show the user some progress,
but a progress bar is not suitable because you don’t know how much longer it would take.
In these cases you might want to display a simple spinner using the spinner() function.
Example usage:
with click_spinner.spinner():
do_something()
do_something_else()
It looks like this:

Spinner class based on on a gist by @cevaris.
Introduced in PR #649.
Install
pip install click-spinner
Supports Python 3.8+.
For Python <3.8, use v0.1.11.
Authors
- @yoavram
- @andy-maier
- @AdrienPensart
Caveats
Printing (or writing) to stdout while a spinner is active will interleave with the spinner animation and look garbled. Prefer logging to stderr, or stop the spinner before printing. See issue #42.
관련 프로젝트 살펴보기
불러오는 중…