This inquiry regards comparing the features, functionality, possibilities, etc., between: (1) Python and JavaScript (for purposes of Word Mail Merge from MS Excel doc); (2) between Python-docx and Docx-MailMerge; and (3) determining which is better suited for the intended purpose (below).
My intended purpose is to create a new docx and automate/populate Microsoft Word Docx based on MS Word's mail merge filter, with the information being merged into Word from a MS Excel master list (and I'm also interested in the possibility of using a Google Doc/Sheet instead of MS Word/Excel).
How does Python-docx compare to Docx-mailmerge and Apose.Words? Strengths and weaknesses of each?
These are the projects/packages/libraries, and examples of what I'm attempting:
https://python-docx.readthedocs.io/en/latest/ ** https://docxtpl.readthedocs.io/en/latest/ ** ** Note it seems I need to use this in conjunction with jinja2.
https://pypi.org/project/docx-mailmerge/
https://blog.aspose.com/2021/11/17/automate-ms-word-mail-merge-in-python/
https://esq.io/2015/01/mailmerge-for-word-docs...-in-python/ ** This is a particularly good example (as I work at a law firm).
https://developers.google.com/docs/api/samples/mail-merge * Google API alternative. Thoughts on which may be better?