Comparison
docx2python vs mammoth vs sharepoint-to-text vs unstructured
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 mammothText 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-textA library that prepares raw documents for downstream ML tasks.
Actively maintained. Last release 7 days ago, commits in 21 of the last 26 weeks. A safe choice.
pip install unstructuredIn short
- mammoth is the most used: 19M downloads a month, 7.3× more than unstructured.
- unstructured is better maintained: Pythie’s Index 88 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 | sharepoint-to-text | unstructured |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 79 | 52 |