This documentation modernizes the legacy Python tutorial (docx_factory_install_n_tutorial(Python).pdf) for the current Conan + CMake workflow in this repository.
- Python developers generating DOCX files from templates.
- Teams migrating from legacy
/opt/DocxFactoryinstalls to source builds. - Users integrating DocxFactory into CI/CD workflows.
- Build DocxFactory with Python bindings enabled.
- Run the hello-world example in examples/python/hello_world.
- Adapt the XML payload and DOCX template fields to your own data model.
The legacy tutorial described package-style installation and Python module setup under /opt/DocxFactory. This repository now uses:
- Conan for C/C++ dependencies.
- CMake for configure/build.
- SWIG for Python wrapper generation.
The Python usage model remains the same: compile template -> load compiled template -> merge XML -> save DOCX.