The dreqPy package includes an XML document specifying the CMIP6 data request and a python API. The XML document is described in dreqML.pdf in the docs directory. The python API is described in dreqPy.pdf, also in the docs directory.