python-docx-ml6
Create, read, and update Microsoft Word .docx files. This is a fork from the original library that includes feature requests that have been provided by the open source community but have not yet been merged in the original package.
Decision gist · record as of 2026-08-14
Yes, if you need to work with .docx files and the fork's additional features align with your use case. The low install friction and permissive MIT license make it a straightforward choice. However, be aware that maintenance is dormant—no updates since November 2023—so you should verify that the fork's specific enhancements meet your needs and accept that you may need to maintain a local patch if bugs arise.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction install with only two runtime dependencies (lxml and typing-extensions).
- Maintenance is dormant—last commit was 2023-11-03 and no releases since initial 1.0.2 in November 2023—so expect no active bug fixes or updates.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you may use, modify, and distribute this package freely in commercial and private projects with minimal restriction.
last release 2023-11-09 (1009 days) · last repo commit 2023-11-03
0 known vulnerabilities (OSV.dev, 2026-08-14) · 133,051 downloads/mo, #11,531 on PyPI
Alternatives
Verify before relying
pip install python-docx-ml6
from docx import Document
document = Document()
document.add_paragraph("It was a dark and stormy night.")
document.save("dark-and-stormy.docx")- Which specific feature requests from the open-source community are included in this fork that differ from the original python-docx.
- Whether the fork remains compatible with the original python-docx API or introduces breaking changes.
- Active maintenance status and whether the fork will receive updates if the original library merges pending features.
What it is and what it does
python-docx-ml6 is a fork of the original python-docx library that adds community-requested features not yet merged upstream. It lets you programmatically read, create, and modify Microsoft Word 2007+ (.docx) files from Python code. The package wraps the Office Open XML format and provides a high-level API for common operations like adding paragraphs and saving documents.
The library depends on lxml for XML parsing and typing-extensions for type hints. It supports Python 3.7 through 3.11 and carries a Production/Stable classifier, though the repository has been dormant since November 2023 with no updates since its initial release.
Use it for
- Generate Word documents programmatically from templates or data sources for reports, invoices, or mail-merge workflows.
- Parse and extract text content from existing .docx files for data migration or document analysis.
- Modify existing Word documents by reading them in, updating paragraphs, and saving the changes back.
- Automate document creation in batch processes where manual editing is impractical.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to work with .docx files and the fork's additional features align with your use case.
The low install friction and permissive MIT license make it a straightforward choice. However, be aware that maintenance is dormant—no updates since November 2023—so you should verify that the fork's specific enhancements meet your needs and accept that you may need to maintain a local patch if bugs arise.
Install
python-docx-ml6 on PyPI
Before you install
Low friction install with only two runtime dependencies (lxml and typing-extensions). Maintenance is dormant—last commit was 2023-11-03 and no releases since initial 1.0.2 in November 2023—so expect no active bug fixes or updates.
License in practice
MIT license is permissive; you may use, modify, and distribute this package freely in commercial and private projects with minimal restriction.
Quickstart
pip install python-docx-ml6
from docx import Document
document = Document()
document.add_paragraph("It was a dark and stormy night.")
document.save("dark-and-stormy.docx")
Verify before relying
- Which specific feature requests from the open-source community are included in this fork that differ from the original python-docx.
- Whether the fork remains compatible with the original python-docx API or introduces breaking changes.
- Active maintenance status and whether the fork will receive updates if the original library merges pending features.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packageslxmltyping-extensions |
| Maintenance | Dormant 1,009 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 133,051 / month, #11,531 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Office/Business :: Office SuitesTopic :: Software Development :: Libraries |
Evidence: python_docx_ml6-1.0.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “microsoft word python library”
- python-docx-ml6Reads, creates, and updates Microsoft Word 2007+ (.docx) files from…
- python-docxpython-docx reads, creates, and modifies Microsoft Word 2007+ (.docx)…
- docxCreates, reads, and writes Microsoft Office Word 2007 docx files in…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also python-docx · docx · docxtpl · python-pptx · htmldocx · html-for-docx · docx-mailmerge2 · docx-mailmerge · spire-doc · docx2txt