Skip to main content

A Python library for creating command-line spinners

Project description

Commands for Using the Module

  1. Installing the module:

    pip install pyoura
    
  2. Using the spinner in a Python script:

    from pyoura.spinner import Spinner
    
    spinner = Spinner('Loading', 'dots')  # You can replace 'dots' with other spinner types
    spinner.start()
    
    try:
        # Simulate a long-running process
        import time
        time.sleep(5)
    finally:
        spinner.stop()
    
  3. Running the spinner from the command line:

    pyoura <spinner-type> <message>
    

    Example:

    pyoura dots "Loading, please wait..."
    
  4. Creating distribution files:

    python setup.py sdist bdist_wheel
    
  5. Uploading to TestPyPI:

    twine upload --repository testpypi dist/*
    
  6. Uploading to PyPI:

    twine upload --repository pypi dist/*
    

This README.md should help users understand how to install, use, and contribute to the Pyoura module.

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

pyoura-0.1.6.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

pyoura-0.1.6-py3-none-any.whl (5.0 kB view hashes)

Uploaded 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