PyXDG contains implementations of freedesktop.org standards in python. Python3 is an optional dependency.