Comparison
pytest-codeblocks vs pytest-examples
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Test 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: 581.3K downloads a month, 2.5× more than pytest-codeblocks.
- Maintenance is comparable: pytest-codeblocks 39, pytest-examples 32 on Pythie’s Index.
- pytest-codeblocks is growing fastest: downloads +15% over the last month.
Side by side
| Metric | pytest-codeblocks | pytest-examples |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 39 | 32 |