pi-recipe-check for Python
Native Python bindings for the pure, I/O-free
pi-recipe-check validation engine.
uv add pi-recipe-check
from pi_recipe_check import check_recipe_files
report = check_recipe_files(
{
"files": [
{
"path": "package.json",
"content": '{"name":"demo","pi":{}}',
}
],
"directories": [],
},
profile="ci",
)
for diagnostic in report.diagnostics:
print(diagnostic.code, diagnostic.path, diagnostic.message)
The snapshot represents the complete recipe tree. File paths are relative to
the recipe root and use / separators. Omit content, or set it to None,
when the file exists but its contents were not supplied. Ancestor directories
are inferred; directories is only needed for empty directories.
Invalid recipes return a Report with valid=False. Malformed input and
unknown validation profiles raise ValueError. The binding performs no
filesystem I/O and does not include the Rust crate's fs or cli features.
Direct-child judges/*.yaml and judges/*.yml content is validated through the
same core. Invalid judge content returns structured judge.* diagnostics; it
does not raise a content exception or return project-scoped judge identity.
Development
uv sync --project bindings/python --locked
uv run --project bindings/python --locked ruff format --check bindings/python/python bindings/python/tests
uv run --project bindings/python --locked ruff check bindings/python/python bindings/python/tests
uv run --project bindings/python --locked mypy --strict bindings/python/python bindings/python/tests
uv run --project bindings/python --locked maturin develop --manifest-path bindings/python/Cargo.toml
uv run --project bindings/python --no-sync pytest bindings/python/tests
Metadata
Release files for pi-recipe-check 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pi_recipe_check-0.8.0.tar.gz | 82.2 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| pi_recipe_check-0.8.0-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| pi_recipe_check-0.8.0-cp310-abi3-manylinux_2_28_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ x86-64 | Details |
| pi_recipe_check-0.8.0-cp310-abi3-manylinux_2_28_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ ARM64 | Details |
| pi_recipe_check-0.8.0-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details |
| pi_recipe_check-0.8.0-cp310-abi3-macosx_10_12_x86_64.whl | CPython 3.10 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 7.7 MB
Release files / pi_recipe_check-0.8.0.tar.gz
| Download URL | pi_recipe_check-0.8.0.tar.gz |
|---|---|
| Size | 82.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e60776f6860c29028b1ddb6227614dbb1434e403adff2d71a31ad35869bb70b3
|
|
BLAKE2b-256 checksum How to use checksums |
d3daab6bca47dfa6d88d62b9ca22329ccf296ebe09fb99389fc1b0d364790fdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 21, 2026.
Transparency logRelease files / pi_recipe_check-0.8.0-cp310-abi3-win_amd64.whl
| Download URL | pi_recipe_check-0.8.0-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
99bd87977cb34ddef8d1e3a4b701070284dc7feea9fa29ae4a5d8155e0743928
|
|
BLAKE2b-256 checksum How to use checksums |
e72a9f54a3e139a7c4b1fc3bf7ba52cb97c6065d719f3df103a23cf6cfdfcf77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 21, 2026.
Transparency logRelease files / pi_recipe_check-0.8.0-cp310-abi3-manylinux_2_28_x86_64.whl
| Download URL | pi_recipe_check-0.8.0-cp310-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
f7874b563ab97a9a06d0644cccebde5bd8d0aa70858d2c2d161f76a868787048
|
|
BLAKE2b-256 checksum How to use checksums |
75ab3adfc66bd48a1f60a34270283ce164e1c4a6a60602198b90595ffec5096d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 21, 2026.
Transparency logRelease files / pi_recipe_check-0.8.0-cp310-abi3-manylinux_2_28_aarch64.whl
| Download URL | pi_recipe_check-0.8.0-cp310-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
e84ae5a78eeda48f475ed65cb83eaf48b0d691f6cd714e2d6b370f3c43435d22
|
|
BLAKE2b-256 checksum How to use checksums |
798643d2fe11edb809e545da596ff0ee2d29b79ee1255106c490e90935cde8a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 21, 2026.
Transparency logRelease files / pi_recipe_check-0.8.0-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | pi_recipe_check-0.8.0-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
abcecf80dfca18ec1416a1fc387a4a5e378c2f79841b7192e59016b40072ee6f
|
|
BLAKE2b-256 checksum How to use checksums |
e8498f40243366507f50861fc8cbd29e2b1523cf4d30ee4579a0333b7da23478
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 21, 2026.
Transparency logRelease files / pi_recipe_check-0.8.0-cp310-abi3-macosx_10_12_x86_64.whl
| Download URL | pi_recipe_check-0.8.0-cp310-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.10 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
9ec04adf43d783347d250de92952b9a0af34c61cafc8b066b6f4370f84b40728
|
|
BLAKE2b-256 checksum How to use checksums |
c221b68ab2a39b02b6100e7466e158c8fe70f561eeaf93264aed81ec6c403d70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 21, 2026.
Transparency log