Comparison
docformatter vs pydocstringformatter
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Formats docstrings to follow PEP 257
Maintained. Last release 7 months ago, commits in 10 of the last 26 weeks. Weaker on release cadence.
$
pip install docformatterA tool to automatically format Python docstrings that tries to follow recommendations from PEP 8 and PEP 257.
Maintained. Last release 5 months ago, commits in 17 of the last 26 weeks. Weaker on release cadence and contributor spread.
$
pip install pydocstringformatterIn short
- docformatter is the most used: 1.3M downloads a month, 13× more than pydocstringformatter.
- Maintenance is comparable: pydocstringformatter 69, docformatter 65 on Pythie’s Index.
- Safe default for a new project: docformatter.
Side by side
| Metric | docformatter | pydocstringformatter |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 65 | 69 |