Comparison
mktestdocs vs pytest-codeblocks vs pytest-examples
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-examplesIn short
- pytest-examples is the most used: 587K downloads a month, 2.6× more than pytest-codeblocks.
- Maintenance is comparable: pytest-codeblocks 39, mktestdocs 37, pytest-examples 32 on Pythie’s Index.
- mktestdocs is growing fastest: downloads +70% over the last month.
Side by side
| Metric | mktestdocs | pytest-codeblocks | pytest-examples |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 37 | Pythie’s Index: 39 | Pythie’s Index: 32 |
| Verdict | Low maintenance activity | Low maintenance activity | Low maintenance activity |
| Downloads / month | 110.7K | 225.1K | 587K |
| Downloads, month over month | +70% | +10% | -13% |
| GitHub stars | – | 122 | 181 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 1 | 2 | 0 |
| Last release | Jul 25, 2025 | Jun 15, 2026 | May 6, 2025 |
| Releases, 12 months | 0 | 1 | 0 |
| Weeks with commits | – | 1 / 26 | 3 / 26 |
| Recent contributors | – | 1 | 15 |
| First release | Dec 2020 | May 2021 | Mar 2023 |
| Python versions | – | – | 3.8 – 3.13 |
| License | MIT | MIT | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.