Various custom PyHamcrest matchers. See the documentation for details.
Install with pip:
pip install brunns-matchers
(As usual, use of a venv or virtualenv is recommended.)
Requires uv. Install with:
curl -LsSf https://astral.sh/uv/install.sh | shThen install dependencies:
uv sync --all-extrasRun make precommit to check if you're OK to commit. For more options, run:
make help
Releases are automated via GitHub Actions. To release version n.n.n:
- Update version in
pyproject.toml - Run
make precommitto ensure all checks pass - Commit and tag:
version="n.n.n" git commit -am "Release v$version" git tag "v$version" git push origin master --tags
The GitHub Actions workflow will automatically:
- Run tests and coverage checks
- Build distribution packages
- Publish to PyPI (using OIDC trusted publishing)
- Create a GitHub release with auto-generated notes
Note: Ensure PyPI trusted publishing is configured. See CLAUDE.md for setup instructions.