# PyHamcrest — card for AI agents

Hamcrest matcher library for Python providing flexible testing assertions.

Category: Testing · PyPI package `pyhamcrest` · latest version 2.1.0 (checked 2026-11-02)
Install: `pip install pyhamcrest`
License: BSD (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 38.0 (#3377 of all tools, 100 of 122 in its category)
- Downloads last week: 588,973 (as of 2026-11-24), +2.8% over 4 weeks
- GitHub stars: 808 (as of 2026-11-24)
- Last push: 2026-11-23

## Often used with
attrs 100.0%, chardet (Python) 100.0%, NumPy 100.0%, pyparsing 100.0%, python-dateutil 100.0%, pytz 100.0%

## Links
- AgentGid page: https://agentgid.com/tools/pyhamcrest/
- Repository: https://github.com/hamcrest/PyHamcrest

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
