PyXDG contains implementations of freedesktop.org standards in python.