{"id":24766,"library":"types-click-spinner","title":"types-click-spinner","description":"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.","status":"active","version":"0.1.13.20260408","language":"python","source_language":"en","source_url":"https://github.com/python/typeshed","tags":["typeshed","stubs","click-spinner","typing"],"install":[{"cmd":"pip install types-click-spinner","lang":"bash","label":"Install stubs from PyPI"},{"cmd":"pip install click-spinner","lang":"bash","label":"Install the runtime library"}],"dependencies":[{"reason":"Runtime package that the stubs provide types for","package":"click-spinner","optional":false}],"imports":[{"note":"Use the same import as the runtime library","symbol":"Spinner","correct":"from click_spinner import Spinner"},{"note":"Use the same import as the runtime library","symbol":"echo","correct":"from click_spinner import echo"}],"quickstart":{"code":"import click\nfrom click_spinner import Spinner\n\n@click.command()\ndef main():\n    with Spinner():\n        # Simulate some work\n        import time\n        time.sleep(2)\n    click.echo(\"Done!\")\n\nif __name__ == '__main__':\n    main()","lang":"python","description":"Basic usage of Spinner context manager with click."},"warnings":[{"fix":"Ensure click-spinner version is compatible with the stubs.","message":"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.","severity":"gotcha","affected_versions":"all"},{"fix":"Check if click-spinner later ships its own py.typed marker or PEP 561 package and prefer that.","message":"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.","severity":"deprecated","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install click-spinner'.","cause":"Missing runtime dependency click-spinner.","error":"ModuleNotFoundError: No module named 'click_spinner'"},{"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).","cause":"Missing stubs or type checker not configured to use stubs.","error":"Import 'click_spinner.Spinner' could not be resolved"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}