python-openxml/python-docx
Create and modify Word documents with Python observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 95
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4705
- days_rel: n/a
- days_push: 32
- n_releases_24m: 0
Adoption not part of the score
5697 stars · 1302 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
python-docx is a Python library for creating, reading, and modifying Microsoft Word 2007+ (.docx) files using the OpenXML format. It provides a high-level API for manipulating document content such as paragraphs, tables, and styles.
Use cases
- generate word documents from python
- read and parse docx files
- programmatically edit word document content
- create reports as docx from templates
- extract text from word documents
- automate office document workflows
When to choose
- you need to create or edit .docx files in Python
- you want a pure-Python library without Word installed
- you need fine-grained control over document structure like paragraphs and tables
When to avoid
- you need to work with legacy .doc files
- you need to render documents to PDF or other formats
- you need full fidelity for complex Word features like tracked changes or macros
Facets
library · maturity stable
parser file-system pdf files developer-tools python cross-platform docx word-documents openxml office-automation document-generation automation
2 sources
- readme: https://github.com/python-openxml/python-docx · fetched 2026-08-28 · 10447f183965
- registry_pypi: https://pypi.org/pypi/python-docx/json · fetched 2026-08-29 · 735446874838
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| python-openxml/python-docx | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="python-openxml/python-docx")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem