Currently it supports Windows, macOS, Gnome, KDE Plasma and various freedesktop.org compliant DEs.
The used methods are completely non-intrusive: no mouse wiggling, no pressing of keys like Shift or F15 and no changing system settings. Instead, wakepy uses the APIs provided by the system for the purpose, like SetThreadExecutionState (Windows) or org.gnome.SessionManager (Gnome).
I imagine this could be interesting to some of the pythonistas out there, so decided to also show it on HN. Would be great to hear your thoughts about it and I'm happy to answer any questions :)