Skip to content

Latest commit

 

History

History
67 lines (37 loc) · 2.03 KB

README.md

File metadata and controls

67 lines (37 loc) · 2.03 KB

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