Skip to main content

An incredibly simple loading spinner for Python 3

Project description

loading-spinner

An incredibly simple “loading spinner” for python projects

Usage:

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

import loadingspinner loadingspinner.setText(“Loading…”) loadingspinner.start() <lines of code> loadingspinner.stop()

Customizing the spinner:

Changing the spinner animation:

loadingspinner.setFrames(<list of characters to display in order from left to right>) Ex. loadingspinner.setFrames([“|”,”/”,”-“,”"])

Changing the text color (requires Colorama to be installed):

loadingspinner.setTextColor(color)

Changing the spinner color (Incomplete. Also requires Colorama):

loadingspinner.setSpinnerColor(color)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

loadingspinner-1.0.1.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

loadingspinner-1.0.1-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page