pyxf86config is a python 2 wrapper for libxf86config, which is an X server config file access library that is shipped with X.org X11, and also XFree86. It can be used to read, modify and write X server config files (xorg.conf, XF86Config) from python.