{"categories":[{"label":"Text Processing","url":"https://skillfed.io/packages/category/text-processing"}],"enrichment":{"capability":"Concatenates and merges multiple Microsoft Word (.docx) files into a single document, with options to preserve or normalize styles across the merged content.","skillfed_tags":["document-composition","word-automation"],"use_cases":["Assemble multi-section reports by appending chapter or section documents to a master template.","Merge user-submitted Word documents into a single compiled output for distribution or archival.","Batch-process docx files from the command line or web service without writing Python code.","Build composite documents from modular content while maintaining consistent styling from a template.","Automate document composition in a server or CI/CD pipeline via the Docker container."],"what_it_does":"docxcompose is a Python library that merges multiple .docx files into a single document. It wraps the lower-level python-docx library to handle the composition logic, using lxml for XML manipulation and babel for internationalization support. The library provides both a Python API (via the Composer class) and a command-line tool for batch operations, plus an optional Docker-based web service for remote composition.\n\nThe main use case is combining Word documents programmatically\u2014for example, assembling reports from template sections, merging user-generated content into a master document, or building composite documents from modular parts. By default it applies the master document's styles to appended content for visual consistency, though you can preserve the original styles of each appended document if needed. Headers and footers from the first document are retained throughout the merged file.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, installs with low friction, and solves a concrete problem (docx merging) that the standard python-docx library does not directly address. The permissive MIT license poses no restrictions. Install it if you need to programmatically combine Word documents."},"id":"docxcompose","links":{"html":"https://skillfed.io/packages/docxcompose","md":"https://skillfed.io/packages/docxcompose.md","pypi":"https://pypi.org/project/docxcompose/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-02","license_spdx":null,"license_treatment":"permissive","name":"docxcompose","python_support":"supports_current","summary":"Compose .docx documents"},"popularity":{"monthly_downloads":1613802,"position":3717,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.2.0"}
