Comparison
ensure vs expects
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Literate BDD assertions in Python with no magic
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install ensureExpressive and extensible TDD/BDD assertion library for Python
Likely abandoned. No release or commit for years (last release over 8 years ago).
$
pip install expectsIn short
- ensure is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- expects looks abandoned: avoid it for new projects.
Side by side
| Metric | ensure | expects |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | Pythie’s Index: 18 |
| Verdict | Slowing down | Likely abandoned |
| Downloads / month | 102.5K | 241.7K |
| Downloads, month over month | -13% | +14% |
| GitHub stars | 157 | 221 |
| Stars, last 7 days | – | – |
| Direct dependents | 88 | 14 |
| Last release | Dec 10, 2023 | Oct 25, 2018 |
| Releases, 12 months | 0 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 |
| Recent contributors | 6 | 6 |
| First release | Oct 2013 | Aug 2013 |
| Python versions | 3.7 – 3.11 | 3.5 – 3.7 |
| License | Apache-2.0 | Apache-2.0 |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.