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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
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 pi_recipe_check-0.7.0.tar.gz.
File metadata
- Download URL: pi_recipe_check-0.7.0.tar.gz
- Upload date:
- Size: 71.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cc52234efbe19704c4202e36649df7fd8c3aad05f0496dd5f91783a548db766
|
|
| MD5 |
949d7eff6c53e9e6d6343b873bb0cf49
|
|
| BLAKE2b-256 |
2cba0b982406001086ba2d5cbb6dc2549885be18677dbbf5f9679f5556333412
|
Provenance
The following attestation bundles were made for pi_recipe_check-0.7.0.tar.gz:
Publisher:
release-please.yml on introspection-org/pi-recipes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pi_recipe_check-0.7.0.tar.gz -
Subject digest:
4cc52234efbe19704c4202e36649df7fd8c3aad05f0496dd5f91783a548db766 - Sigstore transparency entry: 2213230503
- Sigstore integration time:
-
Permalink:
introspection-org/pi-recipes@a22100a097bacab6ba8dbda2f2db8307d53a3e0b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/introspection-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@a22100a097bacab6ba8dbda2f2db8307d53a3e0b -
Trigger Event:
push
-
Statement type:
File details
Details for the file pi_recipe_check-0.7.0-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: pi_recipe_check-0.7.0-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af627006ed20600e6fe39e87160907c85d21725378d1bfd5c3fccb3d730e3657
|
|
| MD5 |
8da957f77edc5723f4b345ad16f4e025
|
|
| BLAKE2b-256 |
f7be9f36c96f04eda483588cfe21bcf23e58d763624e916332886b55b68c4e53
|
Provenance
The following attestation bundles were made for pi_recipe_check-0.7.0-cp310-abi3-win_amd64.whl:
Publisher:
release-please.yml on introspection-org/pi-recipes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pi_recipe_check-0.7.0-cp310-abi3-win_amd64.whl -
Subject digest:
af627006ed20600e6fe39e87160907c85d21725378d1bfd5c3fccb3d730e3657 - Sigstore transparency entry: 2213230652
- Sigstore integration time:
-
Permalink:
introspection-org/pi-recipes@a22100a097bacab6ba8dbda2f2db8307d53a3e0b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/introspection-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@a22100a097bacab6ba8dbda2f2db8307d53a3e0b -
Trigger Event:
push
-
Statement type:
File details
Details for the file pi_recipe_check-0.7.0-cp310-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pi_recipe_check-0.7.0-cp310-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.5 MB
- Tags: CPython 3.10+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
137f9a96e27a636233ac233154d88e1b00dc86b208e97b330c57180f2f6de702
|
|
| MD5 |
777c0e991c942e69807ca37b27992407
|
|
| BLAKE2b-256 |
b0bf776400cb637cd89ce896ed5105db943146a55bafc54f72bb9635cfefdee4
|
Provenance
The following attestation bundles were made for pi_recipe_check-0.7.0-cp310-abi3-manylinux_2_28_x86_64.whl:
Publisher:
release-please.yml on introspection-org/pi-recipes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pi_recipe_check-0.7.0-cp310-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
137f9a96e27a636233ac233154d88e1b00dc86b208e97b330c57180f2f6de702 - Sigstore transparency entry: 2213230970
- Sigstore integration time:
-
Permalink:
introspection-org/pi-recipes@a22100a097bacab6ba8dbda2f2db8307d53a3e0b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/introspection-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@a22100a097bacab6ba8dbda2f2db8307d53a3e0b -
Trigger Event:
push
-
Statement type:
File details
Details for the file pi_recipe_check-0.7.0-cp310-abi3-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: pi_recipe_check-0.7.0-cp310-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.10+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f01164a1f8c4544c3ed8a5ae59f7424c830516242b28a65db7fe984eeb70dea
|
|
| MD5 |
1be4e6b644b13ebd2c083f1ea179cb2b
|
|
| BLAKE2b-256 |
3bd0c4ed116cacde94c48b72f918ba233655f423924fe7fddec5210cbceaff1b
|
Provenance
The following attestation bundles were made for pi_recipe_check-0.7.0-cp310-abi3-manylinux_2_28_aarch64.whl:
Publisher:
release-please.yml on introspection-org/pi-recipes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pi_recipe_check-0.7.0-cp310-abi3-manylinux_2_28_aarch64.whl -
Subject digest:
5f01164a1f8c4544c3ed8a5ae59f7424c830516242b28a65db7fe984eeb70dea - Sigstore transparency entry: 2213230753
- Sigstore integration time:
-
Permalink:
introspection-org/pi-recipes@a22100a097bacab6ba8dbda2f2db8307d53a3e0b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/introspection-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@a22100a097bacab6ba8dbda2f2db8307d53a3e0b -
Trigger Event:
push
-
Statement type:
File details
Details for the file pi_recipe_check-0.7.0-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: pi_recipe_check-0.7.0-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6ca2805cbe87fab133f6e596e2a2bc1e6c3016f2b0c7468e3196d0c8b00cb58
|
|
| MD5 |
fc4ee2e97cfad6c727506977652c4b96
|
|
| BLAKE2b-256 |
085ecf2fb78e8132a916d60f214e68d946f435fc549bd9925bd18b07e09f9f83
|
Provenance
The following attestation bundles were made for pi_recipe_check-0.7.0-cp310-abi3-macosx_11_0_arm64.whl:
Publisher:
release-please.yml on introspection-org/pi-recipes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pi_recipe_check-0.7.0-cp310-abi3-macosx_11_0_arm64.whl -
Subject digest:
c6ca2805cbe87fab133f6e596e2a2bc1e6c3016f2b0c7468e3196d0c8b00cb58 - Sigstore transparency entry: 2213230876
- Sigstore integration time:
-
Permalink:
introspection-org/pi-recipes@a22100a097bacab6ba8dbda2f2db8307d53a3e0b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/introspection-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@a22100a097bacab6ba8dbda2f2db8307d53a3e0b -
Trigger Event:
push
-
Statement type:
File details
Details for the file pi_recipe_check-0.7.0-cp310-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: pi_recipe_check-0.7.0-cp310-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.10+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b13048f7eeb009a1895cb5e7c97bf788a62116296535cd5a0d3a5fa1239362b
|
|
| MD5 |
664b8aa74bc5915f601cd1c864b0c9c9
|
|
| BLAKE2b-256 |
5fc90534dda3ceb1b2e3cc074734504a005833c16e03d450ed55a3e6d59482d2
|
Provenance
The following attestation bundles were made for pi_recipe_check-0.7.0-cp310-abi3-macosx_10_12_x86_64.whl:
Publisher:
release-please.yml on introspection-org/pi-recipes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pi_recipe_check-0.7.0-cp310-abi3-macosx_10_12_x86_64.whl -
Subject digest:
8b13048f7eeb009a1895cb5e7c97bf788a62116296535cd5a0d3a5fa1239362b - Sigstore transparency entry: 2213230567
- Sigstore integration time:
-
Permalink:
introspection-org/pi-recipes@a22100a097bacab6ba8dbda2f2db8307d53a3e0b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/introspection-org
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-please.yml@a22100a097bacab6ba8dbda2f2db8307d53a3e0b -
Trigger Event:
push
-
Statement type: