# python-docx — card for AI agents

Python library for creating, reading and updating Microsoft Word .docx files.

Category: Files, images and media · PyPI package `python-docx` · latest version 1.2.0 (checked 2026-11-01)
Install: `pip install python-docx`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 72.7 (#283 of all tools, 16 of 281 in its category)
- Used in 62 public projects set up for AI coding agents (1.0%)
- Downloads last week: 34,119,835 (as of 2026-11-24), +25.3% over 4 weeks
- GitHub stars: 5,778 (as of 2026-11-24)
- Last push: 2026-08-01

## Often used with
python-dotenv 67.7%, openpyxl 51.6%, Pydantic 48.4%, FastAPI 46.8%, Pillow 46.8%, Uvicorn 46.8%

## Checked alternatives (same job)
- openpyxl: https://agentgid.com/tools/openpyxl/agent.md
- PyPDF: https://agentgid.com/tools/pypdf/agent.md
- python-pptx: https://agentgid.com/tools/python-pptx/agent.md

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

---
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.
