types-click-spinner

raw JSON →
0.1.13.20260408 verified Fri May 01 auth: no python

Typing stubs for click-spinner, providing static type information for the click-spinner package. Current version 0.1.13.20260408, released as part of typeshed, updated regularly with Python versions >=3.10.

pip install types-click-spinner
error ModuleNotFoundError: No module named 'click_spinner'
cause Missing runtime dependency click-spinner.
fix
Run 'pip install click-spinner'.
error Import 'click_spinner.Spinner' could not be resolved
cause Missing stubs or type checker not configured to use stubs.
fix
Install types-click-spinner: 'pip install types-click-spinner' and ensure your type checker (e.g., mypy) uses the correct Python version (>=3.10).
gotcha These stubs are provided by typeshed and may not always be perfectly aligned with the latest version of click-spinner. Always install the corresponding runtime package.
fix Ensure click-spinner version is compatible with the stubs.
deprecated types-click-spinner is part of the third-party stubs maintained by typeshed. It may be removed or replaced if upstream click-spinner provides inline types.
fix Check if click-spinner later ships its own py.typed marker or PEP 561 package and prefer that.
pip install click-spinner

Basic usage of Spinner context manager with click.

import click
from click_spinner import Spinner

@click.command()
def main():
    with Spinner():
        # Simulate some work
        import time
        time.sleep(2)
    click.echo("Done!")

if __name__ == '__main__':
    main()