The luxem Python library assists reading and writing luxem documents. See the documentation here. See coverage here.