A fully functional X client library for Python, written in Python
https://github.com/python-xlib/python-xlib/