Skip to content

SilentFrogNet/spinner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub tag GitHub license PyPI - Python Version GitHub issues

Spinner

This is a really tiny library to add spinners to your code.

Install

From git

pip install git+git://github.com/SilentFrogNet/spinner.git

Spinner types

These are the available SpinnerTypes

Name Example
CLASSIC
SINGLE_PIPES
DOUBLE_PIPES
VERTICAL
DOT
DOTS
DOTS2

Example of use

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

Changelog

What's happened so far...

1.1.0 - 2018-10-03

Changed

  • Simplified the use of the spinner with python context manager

1.0.1 - 2018-09-10

Added

  • Added examples into the README file

1.0.0 - 2018-09-10

  • First stable release

About

A tiny library to add spinners to your code

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages