Python xcffib
From wikinotes
Python bindings for cpp xcb. It is a drop-in replacement for xpyb, the official but no longer maintained bindings.
Documentation
xpyb documentation https://xcb.freedesktop.org/XcbPythonBinding/
Python bindings for cpp xcb. It is a drop-in replacement for xpyb, the official but no longer maintained bindings.
xpyb documentation https://xcb.freedesktop.org/XcbPythonBinding/