Comparison
mktestdocs vs pytest-codeblocks vs pytest-examples vs pytest-markdown-docs
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A tool for testing markdown documentation
Low maintenance activity. Last release 16 months ago. Weaker on recent releases and release cadence.
pip install mktestdocsTest code blocks in your READMEs
Low maintenance activity. Last release 6 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pytest-codeblocksPytest plugin for testing examples in docstrings and markdown files.
Low maintenance activity. Last release 19 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install pytest-examplesRun markdown code fences through pytest
Maintained. Last release 8 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pytest-markdown-docsIn short
- pytest-examples is the most used: 587K downloads a month, 2.6× more than pytest-codeblocks.
- pytest-markdown-docs is better maintained: Pythie’s Index 46 against 32.
- mktestdocs is growing fastest: downloads +70% over the last month.
Side by side
| Metric | mktestdocs | pytest-codeblocks | pytest-examples | pytest-markdown-docs |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 37 | Pythie’s Index: 39 | Pythie’s Index: 32 | Pythie’s Index: 46 |
| Verdict | Low maintenance activity | Low maintenance activity | Low maintenance activity | Maintained |
| Downloads / month | 110.7K | 225.1K | 587K | 144.9K |
| Downloads, month over month | +70% | +10% | -13% | -14% |
| GitHub stars | – | 122 | 181 | 87 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1 | 2 | 0 | 0 |
| Last release | Jul 25, 2025 | Jun 15, 2026 | May 6, 2025 | Mar 23, 2026 |
| Releases, 12 months | 0 | 1 | 0 | 2 |
| Weeks with commits | – | 1 / 26 | 3 / 26 | 2 / 26 |
| Recent contributors | – | 1 | 15 | 18 |
| First release | Dec 2020 | May 2021 | Mar 2023 | Apr 2022 |
| Python versions | – | – | 3.8 – 3.13 | – |
| License | MIT | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.