Skip to main content

jeval

Evaluate a JSON value against expected checks. One case, one result.

pip install jeval
from jeval import Case, Check, evaluate

result = evaluate(
    Case(
        id="order-total",
        checks=[Check(path="total", op="eq", value=21)],
    ),
    actual={"total": 21, "currency": "USD"},
)
assert result.ok
jeval examples/case.json --actual '{"total": 21}'

A case with no checks defaults to deep equality against expected.

See jevals if you want to run a directory or file of cases and get a score.

Metadata

Release files for jeval 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jeval 0.1.0
File Size Uploaded Provenance Actions
jeval-0.1.0.tar.gz 6.0 kB Without provenance Details for jeval-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jeval 0.1.0
File Interpreter ABI Platform Actions
jeval-0.1.0-py3-none-any.whl Python 3 none any Details for jeval-0.1.0-py3-none-any.whl

Total release size: 13.2 kB

Release files / jeval-0.1.0.tar.gz

Download URL jeval-0.1.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1c74c33a0be1df7d5485e6a00efda7739f93a9039b2951baf1bc4f281eb0a170
BLAKE2b-256 checksum
How to use checksums
ab89a0705ea16ef96a969a9705939f645ab2c0157b47353e64b254d29c12b3fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / jeval-0.1.0-py3-none-any.whl

Download URL jeval-0.1.0-py3-none-any.whl
Size 7.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
492de292826fbff817d98f4c3d6af505dc4801f4a8e4108dd3a86d6d592d1535
BLAKE2b-256 checksum
How to use checksums
b18e6aa08d81b59d9fd520adc9a74e15218223272f3dca6622f9e57990c9a186
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for jeval 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page