Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

docxcompose is a Python library for concatenating/appending Microsoft Word (.docx) files.

Example usage

Append a document to another document:

from docxcompose.composer import Composer
from docx import Document
master = Document("master.docx")
composer = Composer(master)
doc1 = Document("doc1.docx")
composer.append(doc1)
composer.save("combined.docx")

Changelog

1.0.0a5 (2018-01-11)

  • Renumber bookmarks to avoid duplicate ids. [buchi]

  • Add support for shapes. [buchi]

1.0.0a4 (2017-12-27)

  • Fix handling of styles when composing documents with different languages. [buchi]

  • Also add numberings referenced in styles. [buchi]

  • Avoid having multiple <w:abstractNum> elements for the same style. [buchi]

  • Restart first numbering of inserted documents [buchi]

  • Add support for anchored images. [buchi]

  • Handle referenced style ids that are not defined in styles.xml [buchi]

  • Remove header and footer references in paragraph properties. [buchi]

1.0.0a3 (2017-11-22)

  • Make removal of property fields optional. [buchi]

1.0.0a2 (2017-11-06)

  • Fix handling of footnotes containing hyperlinks. [buchi]

  • Add functionality to deal with custom document properties. Properties can be updated and fields containing properties can be removed. When appending or inserting documents their custom document properties get removed automatically. [buchi]

1.0.0a1 (2017-09-13)

  • Initial release [buchi]

Release files for docxcompose 1.0.0a5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for docxcompose 1.0.0a5
File Size Uploaded
docxcompose-1.0.0a5.tar.gz 8.4 kB Details

Release files / docxcompose-1.0.0a5.tar.gz

Download URL docxcompose-1.0.0a5.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b1f4a62475af5b304d02e42cdb40a0125eacbbaed9234278b3be41b78ede8a62
BLAKE2b-256 checksum
How to use checksums
f083ce4c54d7ab3c37af903c06223de8d788d643b10d31b7d78dbc7c3ea11274
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

2.2.0

2 release files

2.1.0

2 release files

2.0.2

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.4.1

2 release files

1.4.0

1 release file

1.3.7

1 release file

1.3.6

1 release file

1.3.5

1 release file

1.3.4

1 release file

1.3.3

1 release file

1.3.2

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

This release

1.0.0a5 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page