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.2.0.tar.gz (147.1 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.2.0-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: brunns_matchers-3.2.0.tar.gz
  • Upload date:
  • Size: 147.1 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.2.0.tar.gz
Algorithm Hash digest
SHA256 aa7fb078b98a37fe00c1bc86b96ec7a82e5eb5295c18154c28e1e31bac7dba63
MD5 db83ba5487134946ea8ecf69f58581c9
BLAKE2b-256 20b715a674fd1e3891acfae1a130febd5612726e9cba0bfdc9687ce124c22fe1

See more details on using hashes here.

Provenance

The following attestation bundles were made for brunns_matchers-3.2.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.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for brunns_matchers-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84264d8076192efb9f6a7afd60cca94cd43d2b94b60d0c9dd332f9b3b1b1a257
MD5 421ecc4029ddbb475cfc96d73c141f1d
BLAKE2b-256 a11f4995f374a7f1d5d381d4c525725f0544442d63b6f00cb0b5cd39c0729e2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for brunns_matchers-3.2.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