PyKeyboard icon indicating copy to clipboard operation
PyKeyboard copied to clipboard

A simple, cross-platform python module for controlling the keyboard.

PyKeyboard

A simple, cross-platform python module for providing keyboard control.

This repository is now inactive and outdated; PyKeyboard has been incorporated into PyUserInput where development is active. Please go there for the latest in PyKeyboard and PyMouse.

https://github.com/SavinaRoja/PyUserInput

Alternatives

There are some good alternatives to PyKeyboard out there.

autopy is written as a C extension to Python and works very well on Windows, Mac, and X11 (Linux). It provides mouse control, keyboard control, and more.

Xpresser is a good Linux-only alternative that operates with X11. It provides tools for GUI-automation and also implements opencv for image matching.

sikuli deserves mention as a notable cross-platform GUI-automation tool that provides user emulation and image matching ability.