Comparison
docx2python vs mammoth vs officeparserpy vs sharepoint-to-text
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Extract content from docx files
Actively maintained. Last release 5 weeks ago. A safe choice.
pip install docx2pythonConvert Word documents from docx to simple and clean HTML and Markdown
Maintained. Last release 2 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install mammothA Python library to parse text out of any office file. Currently supports docx, pptx, xlsx, odt, odp, ods, pdf files.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install officeparserpyText extraction library for typical file formats found in SharePoint repositories
Maintained. Last release 8 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install sharepoint-to-textIn short
- officeparserpy is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- mammoth is the most used: 19M downloads a month, 33× more than docx2python.
- docx2python is better maintained: Pythie’s Index 79 against 52.
- docx2python is growing fastest: downloads +42% over the last month.
- sharepoint-to-text is the newcomer: first released Dec 2025.
Side by side
| Metric | docx2python | mammoth | officeparserpy | sharepoint-to-text |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 79 | 52 |