Skip to main content

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.

Metadata

Release files for spinny 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spinny 1.1.0
File Size Uploaded Provenance
spinny-1.1.0.tar.gz 20.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for spinny 1.1.0
File Interpreter ABI Platform
spinny-1.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 23.3 kB

Release files / spinny-1.1.0.tar.gz

Download URL spinny-1.1.0.tar.gz
Size 20.6 kB
Tags Source
SHA-256 checksum
How to use checksums
249c38706137486a7dc5317487029c1abb429f50bab8cf8aa8858ebaab2b7080
BLAKE2b-256 checksum
How to use checksums
4eaf88548a43b82b14ee1af431a5b3f375b5bfe485cd6765bbacb220fa06b6fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.1

Release files / spinny-1.1.0-py2.py3-none-any.whl

Download URL spinny-1.1.0-py2.py3-none-any.whl
Size 2.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0c07d051cc3161cc60c6c16782d32282773067611e8de8562c8a957d7593d2b2
BLAKE2b-256 checksum
How to use checksums
dbb896f4ccf96f6cadb1ef90caffcec8a2c934803e9983bab6fe7f92ffa680f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.25.1

Security for spinny 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page