Skip to main content

Simple Spinner in python

Project description

Simple Spinner



It is a way to print a spinning cursor in terminal using Python.
I referred this document.

"It's just Simple Spinning Cursor."


download

pip install simple_spinner



how to use?

use start, end method

from simple_spinner.spinner import Spinner

spinner = Spinner()
spinner.start(desc='test')
time.sleep(3)
spinner.stop()



use with reserved word

from simple_spinner.spinner import Spinner

with Spinner(desc='test'):
    time.sleep(3)

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

simple_spinner-0.1.2-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file simple_spinner-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: simple_spinner-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for simple_spinner-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5af56197008a4e35c908a5d60f0b34f03aa1aac28cf39f1b851f37222975611f
MD5 4fd51d9f021ba44045e68d93c581d4c5
BLAKE2b-256 374baa6b70e156a1354b394956d2e98d32ec91e5e036ba5a84537969b751d8cd

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