Comparison
dirty-equals vs PyHamcrest
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Doing 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.3M downloads a month.
- PyHamcrest is better maintained: Pythie’s Index 43 against 24.
Side by side
| Metric | dirty-equals | PyHamcrest |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 24 | Pythie’s Index: 43 |
| Verdict | Low maintenance activity | Maintained |
| Downloads / month | 3.3M | 2.6M |
| Downloads, month over month | +1% | +0% |
| GitHub stars | 1K | 808 |
| Stars, last 7 days | – | – |
| Direct dependents | 4 | 77 |
| Last release | Nov 17, 2025 | Oct 22, 2023 |
| Releases, 12 months | 0 | 0 |
| Weeks with commits | 2 / 26 | 9 / 26 |
| Recent contributors | 21 | 5 |
| First release | Jan 2022 | Dec 2010 |
| Python versions | 3.9 – 3.14 | 3.6 – 3.11 |
| License | MIT | BSD-3-Clause |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.