Python library to automate X11. Simulate mouse movement and mouse clicks, keystrokes, and manipulate windows from Python. Alter the state of caps lock, num lock, and scroll lock. Also access the X11 clipboard. The C library would be useful for those wishing to automate X from another language as well.