Python Library References

GPIOZERO

A simple interface to GPIO devices with Raspberry Pi, developed and maintained by Ben Nuttall and Dave Jones. Written for python3.
https://gpiozero.readthedocs.io/en/stable/index.html

PYNPUT

This library allows you to control and monitor input devices. Currently, mouse and keyboard input and monitoring are supported. Available here https://pypi.org/project/pynput/ (version 1.7.6 … check for later versions as necessary).