Custom PyHamcrest matchers
Project description
brunns-matchers
Various custom PyHamcrest matchers. See the documentation for details.
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:
- 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file brunns_matchers-2.11.1.tar.gz.
File metadata
- Download URL: brunns_matchers-2.11.1.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8e4374f5fe4ed00b07ca09a4d1bc1895693894ca31e677c122d350bca0b4d93
|
|
| MD5 |
23984a953bc5a6365f2299f0d7fbd0be
|
|
| BLAKE2b-256 |
ffec536976390c2686d3adfab409206cd59db0522c3b2673ecdcdd218bc4df61
|
Provenance
The following attestation bundles were made for brunns_matchers-2.11.1.tar.gz:
Publisher:
release.yml on brunns/brunns-matchers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
brunns_matchers-2.11.1.tar.gz -
Subject digest:
b8e4374f5fe4ed00b07ca09a4d1bc1895693894ca31e677c122d350bca0b4d93 - Sigstore transparency entry: 937233304
- Sigstore integration time:
-
Permalink:
brunns/brunns-matchers@869099dff5c829a4beb3010059186574d01c9549 -
Branch / Tag:
refs/tags/v2.11.1 - Owner: https://github.com/brunns
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@869099dff5c829a4beb3010059186574d01c9549 -
Trigger Event:
push
-
Statement type:
File details
Details for the file brunns_matchers-2.11.1-py3-none-any.whl.
File metadata
- Download URL: brunns_matchers-2.11.1-py3-none-any.whl
- Upload date:
- Size: 28.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfe13f23fc92d14dfab29288de1085edee5821edb4b17bb3ad45cfb7803afa5c
|
|
| MD5 |
e06845e4f3b3486e7280af5868f17193
|
|
| BLAKE2b-256 |
b9246253fb6817e26accfffe4a6c920fe176180f049d9249830a502e79722856
|
Provenance
The following attestation bundles were made for brunns_matchers-2.11.1-py3-none-any.whl:
Publisher:
release.yml on brunns/brunns-matchers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
brunns_matchers-2.11.1-py3-none-any.whl -
Subject digest:
dfe13f23fc92d14dfab29288de1085edee5821edb4b17bb3ad45cfb7803afa5c - Sigstore transparency entry: 937233311
- Sigstore integration time:
-
Permalink:
brunns/brunns-matchers@869099dff5c829a4beb3010059186574d01c9549 -
Branch / Tag:
refs/tags/v2.11.1 - Owner: https://github.com/brunns
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@869099dff5c829a4beb3010059186574d01c9549 -
Trigger Event:
push
-
Statement type: