Python monitor control using the VESA Monitor Control Command Set (MCCS) over the Display Data Channel Command Interface Standard (DDC-CI).
Linux (tested with Ubuntu desktop 20.04 LTS)
Windows (tested with Windows 10)
py -3.8 -m pip install monitorcontrol
python3.8 -m pip install monitorcontrol
Full documentation including examples is available on readthedocs here.