Comparison
pytest-stub vs surrogate
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Stub packages, modules and attributes.
Low maintenance activity. Last release over 6 years ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install pytest-stubA Python micro-lib to create stubs for non-existing modules.
Likely abandoned. No release or commit for years (last release over 7 years ago).
$
pip install surrogateIn short
- surrogate looks abandoned: avoid it for new projects.
- pytest-stub is the most used: 111.2K downloads a month.
- pytest-stub also has the best Pythie’s Index (13).
Side by side
| Metric | pytest-stub | surrogate |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 13 | 17 |