Welcome to brunns-matchers’s documentation!

Various custom PyHamcrest matchers.

Installation

Install from Pypi as usual, using uv, pip , tox, setup.py, or whatever.

Certain matchers require extra dependencies. See individual matchers’ documentation for details.

Provided matchers

Bytestring

JSON

Date & time

Database

HTML

Matchers

Meta (auto-matchers)

Mocks

Object

Path

Response

RSS

Scripttest

SMTP

  • is_email() - matches if string is a valid email message.

URL

Werkzeug Responses

Indices and tables