CD (Canvas Draw) is a platform-independent graphics library. It is implemented in several platforms using native graphics libraries: Windows (GDI) and X-Windows (XLIB). The canvas is an abstract surface that can be a window, an image or a metafile.
...The project is now migrated to Github, where support for Python 3 is being added and the license has changed to LGPL. The files and code available here are no longer recommended to be used.
Github repository: https://github.com/python-xlib/python-xlib
Escher is a collection of libraries for X Window System written purely
in Java. It consists of an X11 protocol implementation (similar to
xlib for C/C++), and its extensions such as GLX, the OpenGL rendering
protocol.