Skip to main content

Custom PyHamcrest matchers

Project description

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 or uv:

pip install brunns-matchers

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

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

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 (using uv version --bump major|minor|patch) and docs/conf.py.
  2. Run make precommit to ensure all checks pass
  3. Commit and tag:
    version=`uv version --short`
    git pull -r
    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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brunns_matchers-3.1.0.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brunns_matchers-3.1.0-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file brunns_matchers-3.1.0.tar.gz.

File metadata

  • Download URL: brunns_matchers-3.1.0.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for brunns_matchers-3.1.0.tar.gz
Algorithm Hash digest
SHA256 be8193f7d0d3800d12e7ca961f06bcb759507f2efcf37c9e5d95edb225eb9021
MD5 72845727360cb74aba8907ab4e899b2c
BLAKE2b-256 e3ab24e325ce6625b2d333098f66520274bf7d37a67553ffa38307b56d4509b1

See more details on using hashes here.

Provenance

The following attestation bundles were made for brunns_matchers-3.1.0.tar.gz:

Publisher: release.yml on brunns/brunns-matchers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file brunns_matchers-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: brunns_matchers-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for brunns_matchers-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ea9adcc967560d5bdfdf4e08c5f994a3f060e3cd51c0de2212bc141f729e576
MD5 9645bd046b2413760bd7833315bd613a
BLAKE2b-256 85752eaa6d1c29c2ce09b1d62bcd437710b2f9f4872b4397a1db2f5cf8e43f3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for brunns_matchers-3.1.0-py3-none-any.whl:

Publisher: release.yml on brunns/brunns-matchers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page