Comparison
commonmark vs markdown-it-py vs mistune
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python parser for the CommonMark Markdown spec
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install commonmarkPython port of markdown-it. Markdown parsing, done right!
Maintained. Last release 3 weeks ago, commits in 4 of the last 26 weeks. Weaker on commit activity.
$
pip install markdown-it-pyA sane and fast Markdown parser with useful plugins and renderers
Actively maintained. Last release 6 weeks ago, commits in 17 of the last 26 weeks. A safe choice.
$
pip install mistuneIn short
- commonmark is archived: avoid it for new projects.
- markdown-it-py is the most used: 614.7M downloads a month, 8.4× more than mistune.
- mistune is better maintained: Pythie’s Index 80 against 65.
- markdown-it-py is growing fastest: downloads +16% over the last month.
- Safe default for a new project: markdown-it-py, or mistune if active maintenance matters most.
Side by side
| Metric | commonmark | markdown-it-py | mistune |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 7 | 65 |