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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

Details for the file spinny-1.1.0.tar.gz.

File metadata

  • Download URL: spinny-1.1.0.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for spinny-1.1.0.tar.gz
Algorithm Hash digest
SHA256 249c38706137486a7dc5317487029c1abb429f50bab8cf8aa8858ebaab2b7080
MD5 4ddf02e890ff5019942377f0318381d2
BLAKE2b-256 4eaf88548a43b82b14ee1af431a5b3f375b5bfe485cd6765bbacb220fa06b6fd

See more details on using hashes here.

File details

Details for the file spinny-1.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: spinny-1.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.25.1

File hashes

Hashes for spinny-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0c07d051cc3161cc60c6c16782d32282773067611e8de8562c8a957d7593d2b2
MD5 6582f4379f5806adf8672f36bb4ccc56
BLAKE2b-256 dbb896f4ccf96f6cadb1ef90caffcec8a2c934803e9983bab6fe7f92ffa680f4

See more details on using hashes here.

Supported by

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