Typing stubs for the pyperclip package, maintained as part of typeshed. Version 1.11.0.20260408 provides type annotations for pyperclip on Python >=3.10. Stubs are released as needed when pyperclip or typeshed changes; no fixed cadence.
pip install types-pyperclipVerified import paths — ran on the pinned version, not inferred.
Basic usage of pyperclip with type stubs. The stubs are automatically picked up by mypy/pyright when installed.
Install both: pip install pyperclip types-pyperclip
Add type: ignore or assertions if needed for platform-specific code.
Pin to an older stubs version (e.g., pip install types-pyperclip==1.10.0.20250212) or upgrade Python to >=3.10.