hekestam-docx is a Python library for creating and updating Microsoft Word (.docx) files. Based on python-docx More information is available in the python-docx documentation.