Comparison
pytest-codeblocks vs pytest-examples vs regendoc vs sybil
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-examplesa tool to check/update simple file/shell examples in documentation
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install regendocAutomated testing for the examples in your code and documentation.
Maintained. Last release 8 days ago, commits in 5 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install sybilIn short
- regendoc looks abandoned: avoid it for new projects.
- pytest-examples is the most used: 581.3K downloads a month.
- sybil is better maintained: Pythie’s Index 67 against 32.
- pytest-codeblocks is growing fastest: downloads +15% over the last month.
Side by side
| Metric | pytest-codeblocks | pytest-examples | regendoc | sybil |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 39 | 32 |