NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2449 most downloaded on PyPI
Python docx template engine
Last release 10 months ago
13 Nov 2025
Ships fairly regularly
a new release about every 3 months
Some releases are documented
notes for 25 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
101 releases · first in 2015
Nothing published for this version
Subdocument can now be based on an existing docx
Subdocument can now be based on an existing docx
Add font option in RichText
Better tabs and spaces management for MS Word 2016
Wheel distribution
Manage autoscaping on InlineImage, Richtext and Subdoc
Purge MANIFEST.in file
Accept variables starting with 'r' in {{}} when no space after {{
Remove debug traces
Add {% vm %} to merge cell vertically within a loop (Thanks to Arthaslixin)
use six.iteritems() instead of iteritems for python 3 compatibility
Fixed Bug #95 on replace_pic() method
Add replace_pic() method to replace pictures from its filename (Thanks to Riccardo Gusmeroli)
Improve image attachment for InlineImage ojects
Add replace_media() method (useful for header/footer images)
Add replace_embedded() method (useful for embedding docx)
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Fix bug when using more than one {{r }} or {%r %} in the same run
Fix exception in fix_table()
Fix bug when using more than one {{r }} or {%r %} in the same run
Fix git tag v0.3.6 was in fact for 0.3.5 package version so create a tag 0.3.7 for 0.3.7 package version
Better head/footer jinja2 handling (Thanks to hugokernel)
Fix bug where one is using '%' (modulo operator) inside a tag
Add Listing class to manage n and a (new paragraph) and escape text AND keep current styling
Add {%tc } tags for dynamic table columns (Thanks to majkls23)
Remove version limitation over sphinx package in setup.py
Add PNG & JPEG in tests/test_files/
You can now add images directly without using subdoc, it is much more faster.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add dynamic colspan tag for tables
Add dynamic colspan tag for tables
Fix /n in RichText class
Add Python 3 support for footer and header
Fix bug when using utf-8 chracters inside footer or header in .docx template It now detects header/footer encoding automatically
Fix bug where using subdocs is corrupting header and footer in generated docx Thanks to Denny Weinberg for his help.
Add Header and Footer support (Thanks to Denny Weinberg)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
'>' and '<' can now be used inside jinja tags
'>' and '<' can now be used inside jinja tags
render() accepts optionnal jinja_env argument : useful to set custom filters and other things
better subdoc management : accept tables
better xml code cleaning around Jinja2 tags
python 3 support
remove debug code
add lxml dependency
fix template filter with quote
add RichText support
add subdoc support
add some exemples in tests/
First running version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →