Skip to content

brunns/brunns-matchers

Repository files navigation

brunns-matchers

Various custom PyHamcrest matchers. See the documentation for details.

made-with-python Build Status PyPi Version Python Versions Licence GitHub all releases GitHub forks GitHub stars GitHub watchers GitHub contributors GitHub issues GitHub issues-closed GitHub pull-requests GitHub pull-requests closed Codacy Badge Codacy Coverage Lines of Code

Setup

Install with pip:

pip install brunns-matchers

(As usual, use of a venv or virtualenv is recommended.)

Developing

Requires uv. Install with:

curl -LsSf https://astral.sh/uv/install.sh | sh

Then install dependencies:

uv sync --all-extras

Run make precommit to check if you're OK to commit. For more options, run:

make help

Releasing

Releases are automated via GitHub Actions. To release version n.n.n:

  1. Update version in pyproject.toml
  2. Run make precommit to ensure all checks pass
  3. 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.

About

Custom PyHamcrest matchers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •