Skip to main content

A simple spinner library.

Project description

Spinny

Ever wanted a simple solution to a simple problem? I've attempted to do that with a very simple spinner library. It's so small, that you don't even need to install it; you can just copy and paste it into your code file. Yes, I said file, not base. Why? It's about 10 lines long. And it uses only vanilla Python. It's based off of this Stackoverflow answer. It can be installed from PyPI here.

Jut saying, the code is golfed so that it's as short as I can make it. Although that makes it copy-and-pastable, it also makes it illegible. Caveat emptor.

How to use it

See the example below (there's an error, you should import it using the phrase spinny):

Spinner Example

It also handles errors cleanly, printing out the cause of the error and stopping.

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

spinny-1.1.0.tar.gz (20.6 kB view hashes)

Uploaded Source

Built Distribution

spinny-1.1.0-py2.py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 2 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