A cross-platform library for handling keypress events in the terminal. Supports both Unix and Windows systems. Current version: 0.4.1. Release cadence: irregular.
pip install python-yakhVerified import paths — ran on the pinned version, not inferred.
Simple example: listen for keypresses for 5 seconds and print each key.
Use a try/finally block or context manager to stop the handler.
Register handler.stop() with atexit.register() or use a context manager.
Upgrade to 0.2.1+ using pip install --upgrade python-yakh
No dependency data recorded yet.