Skip to main content

spinneroo

A module for displaying progress messages and timers with spinners in the command line.

Installation

pip install spinneration

example

import time

from spinneration import Spinner

spinner1 = Spinner(
    title='Process 1',
    message='processing',
    complete="complete",
    counter=True,
    clean=True,
    silence=False
)
spinner1.spin()

time.sleep(5)

spinner2 = Spinner(
    title='Process 2',
    message='processing',
    complete="complete",
    counter=True,
    clean=True,
    silence=False
)
spinner2.spin()

time.sleep(5)

spinner2.stop()

time.sleep(5)

spinner1.stop()

final output

Process 1: Paused 00:00:05       
Process 2: complete 00:00:05     
Process 1: complete 00:00:15

Download files

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

Source Distribution

spinneration-0.0.1.tar.gz (7.8 kB view details)

Uploaded Source

File details

Details for the file spinneration-0.0.1.tar.gz.

File metadata

  • Download URL: spinneration-0.0.1.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for spinneration-0.0.1.tar.gz
Algorithm Hash digest
SHA256 06745ce12fa5fc219658921dd2d2d0c0734747101d4a064eb0c8e5b4f29818d2
MD5 4dc809b968c4e851641921da3dabc984
BLAKE2b-256 a6d2c8a724787346014c78ae39e1a03a947613912d07738d988b0fe44501f707

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 file

0.0.0

1 file

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