Skip to content

πŸ”₯ Spinnerpy new python loading spinners repository πŸ”₯

License

Notifications You must be signed in to change notification settings

truedl/spinnerpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

spinnerpy

πŸ”₯ Spinnerpy new python loading spinners repository πŸ”₯

tests/test.py GIF

Style-list

Style Chars
default \ | / -
ballon . o 0 @ *
arrows ← β†– ↑ β†— β†’ β†˜ ↓ ↙
cube β–– β–˜ ▝ β–—
lines ─ β”˜ β”΄ β”” β”œ β”Œ ┬ ┐
tringle β—’ β—£ β—€ β—₯
squares β—° β—³ β—² β—±
pie β—΄ β—· β—Ά β—΅
circle ◐ β—“ β—‘ β—’
dots ⣾ ⣽ ⣻ Ⓙ ⑿ ⣟ ⣯ ⣷
v < V > ^
x + X

Spinner Class

init

Spinner(style:str)

start

start(self, progress=None, args:list=None, text:str='', times:int=None, wait:float=.2, color:str=None)

Start the spinner

progress - Function - (The spinner will spin until the progress is over)
args - Array - (If progress is provided you can transfer arguments to the function)
text - String - (Text before spinner | Example: text='Loading... ' - Output: Loading... {Spinner Here})
times - Integer - (If progress not provided you can control how many times the spinner will spin)
wait - Float - (Seconds to next char)
color - String - (Change spinner+text color)

stop

stop(self)

Stop the spinner

About

πŸ”₯ Spinnerpy new python loading spinners repository πŸ”₯

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages