Comparison
anys vs dirty-equals vs PyHamcrest
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Matchers for pytest
Low maintenance activity. Last release over 2 years ago, commits in 5 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install anysDoing dirty (but extremely useful) things with equals.
Low maintenance activity. Last release 12 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install dirty-equalsHamcrest framework for matcher objects
Maintained. Last release over 3 years ago, commits in 9 of the last 26 weeks. Weaker on recent releases and release cadence.
$
pip install pyhamcrestIn short
- dirty-equals is the most used: 3.2M downloads a month.
- PyHamcrest is better maintained: Pythie’s Index 44 against 24.
Side by side
| Metric | anys | dirty-equals | PyHamcrest |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 34 | 24 |