Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 4 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

python-docx

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

Files, images and mediaPYPI

GitHubWebsite

1. License

License from PyPI classifier.

github.com/python-openxml/python-docx

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What python-docx does

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

python-docx popularity

73 / 100
Gid Score, #283 overall
34.1M
downloads a week, pypi
5,778
GitHub stars
62
agent projects use it
python-docx: downloads per weekPyPI, python-docx 34,046,185
python-docx: GitHub starspython-openxml/python-docx 5,778

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How python-docx is used

  • python-docx is a dependency in 62 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (3.8% of the 1,623 Python ones), #14 of 281 in files, images and media.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 633; those are left out of every share on this page.
  • The most used alternative in our scan is openpyxl (86 projects).
  • Projects that use it most often also use python-dotenv (67.7%), openpyxl (51.6%), Pydantic (48.4%).

By coding agent

40 projects, 1.2%
24 projects, 0.8%
24 projects, 1.0%
7 projects, 2.1%
5 projects, 1.1%

Often used with

In 67.7% of its projects
In 51.6% of its projects
In 48.4% of its projects
In 46.8% of its projects
In 46.8% of its projects
In 46.8% of its projects
In 46.8% of its projects
In 45.2% of its projects

More about python-docx

More in Files, images and media

Alternatives

python-docx This page

MITGid 7334.1M/wk

openpyxl

Python library for reading and writing Excel 2010 XLSX/XLSM files.

MITGid 7689.4M/wk

PyPDF

Pure-Python library for reading, merging, splitting and transforming PDF files.

BSD-3-ClauseGid 7852.8M/wk

python-pptx

Create, read, and modify PowerPoint presentations programmatically in Python.

MITGid 6826.1M/wk

Compare python-docx with another tool

Get started

Install it.

pip install python-docx

No step-by-step start for python-docx yet: we have not written its hand-checked card.