# docxtpl — card for AI agents

Fills Word .docx templates with Jinja2 tags, for contracts, letters and reports.

Category: Files, images and media · PyPI package `docxtpl` · latest version 0.20.2 (checked 2026-11-01)
Install: `pip install docxtpl`
License: LGPL-2.1-only (weak-copyleft)

In your own product (generator, app, hosted service): **conditions**. Weak copyleft: fine inside a closed product, but changes to the library's own files stay under its license and must be shared.

## Numbers (AgentGid data)
- Gid Score: 40.4 (#3102 of all tools, 204 of 281 in its category)
- Downloads last week: 1,287,413 (as of 2026-11-24), +21.1% over 4 weeks
- GitHub stars: 2,736 (as of 2026-11-24)
- Last push: 2026-07-07

## Links
- AgentGid page: https://agentgid.com/tools/docxtpl/
- Homepage: https://github.com/elapouya/python-docx-template
- Repository: https://github.com/elapouya/python-docx-template

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
