pynput

June 20, 2017 ยท View on GitHub

This library allows you to control and monitor input devices.

Currently, mouse and keyboard input and monitoring are supported.

See here <https://pynput.readthedocs.io/en/latest/>_ for the full documentation.