An open API service indexing awesome lists of open source software.

https://github.com/benjaminurquhart/loading-spinner

A simple loading spinner for Python projects
https://github.com/benjaminurquhart/loading-spinner

loading loading-animation loading-animations loading-indicator loading-spinner python python-library python3 python3-library

Last synced: 9 months ago
JSON representation

A simple loading spinner for Python projects

Awesome Lists containing this project

README

          

# loading-spinner

An incredibly simple "loading spinner" for python projects

# Installing

`pip install loadingspinner`

# Usage

NOTE: Please do NOT import spinner. You MUST use loadingspinner.

`import loadingspinner

loadingspinner.setText("Loading...")

loadingspinner.setTextColor("yellow")

loadingspinner.start()

loadingspinner.stop()`

# Customizing the spinner

Changing the spinner animation:

`loadingspinner.setFrames()`

Ex. `loadingspinner.setFrames(["|","/","-","\\"])`

Changing the text color:
`
loadingspinner.setTextColor()`

Ex. `loadingspinner.setTextColor("red")`

Changing the spinner color:

NOTE: This feature is not fully implemented and any changes to the spinner color will change the text color as well

`loadingspinner.setSpinnerColor()`

Ex. `loadingspinner.setSpinnerColor("yellow")`