Skip to content

Simple tools to display a spinner durring command line tasks

License

Notifications You must be signed in to change notification settings

Pirheas/Python-LoadSpinner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-LoadSpinner

Simple tools to display a spinner in the terminal

Requirements

  • Python >= 3.3

Demo

The code in example.py would give this result:

alt tag

Args

  • speed
    • VERY_FAST
    • FAST
    • NORMAL (default)
    • SLOW
    • VERY_SLOW
  • stdout_type
    • STDOUT_STANDARD (Stdout doesn't change but it's not recommended to print anything in the console while the spinner is spinning)
    • STDOUT_REDIRECT (default) (Stdout is redirected to an internal list and will be printed without affecting the spinner)
    • STDOUT_DISABLE (Stdout is disabled)
  • new_line (boolen default=True): If set to false, the latest line shown will be erased

About

Simple tools to display a spinner durring command line tasks

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages