WorldCut Python
Independent Python implementation of WorldCut protocol 0.1, engine 0.1.2, and canonicalization worldcut-json-v1. Python 3.11 or newer is required.
Install
Install from PyPI:
python -m pip install worldcut==1.0.0
When a source install is preferred, use the protected tag:
python -m pip install "worldcut @ git+https://github.com/Jason-Doyle/WorldCut.git@ports/python/v1.0.0#subdirectory=ports/python"
Version 1.0.0 is the stable Python API line. Protocol 0.1 and engine
0.1.2 remain separate wire-format identifiers.
Library
from pathlib import Path
from worldcut import parse_input, verify
parsed = parse_input(Path("verification.json").read_bytes())
result = verify(parsed)
print(result["verdict"])
print(result["verificationRecordDigest"])
ParsedInput is an immutable validated snapshot. Every verification returns a
fresh result, so mutating one result cannot affect later verification.
CLI
worldcut-py verification.json
worldcut-py --require-satisfied verification.json
The second form exits with status 2 unless the verdict is
CONTRACT_SATISFIED.
Validate
python -m pip install -e ".[dev]"
ruff format --check .
ruff check .
mypy src
pytest
python -m build
twine check dist/*
The source distribution includes the complete mirrored conformance corpus and can run its tests without files from the parent repository. This port includes the verifier and CLI only; integrations are intentionally not included yet.
Metadata
Release files for worldcut 1.0.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 | Provenance | Actions |
|---|---|---|---|---|
| worldcut-1.0.0.tar.gz | 31.5 kB | With provenance | Details for worldcut-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| worldcut-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for worldcut-1.0.0-py3-none-any.whl |
Total release size: 50.5 kB
Release files / worldcut-1.0.0.tar.gz
| Download URL | worldcut-1.0.0.tar.gz |
|---|---|
| Size | 31.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ddad7b8255ab5a4c9e932e363b3d9c47b3d6b93175ddda1092c9d37533f70ac1
|
|
BLAKE2b-256 checksum How to use checksums |
d031e6adb40c609bcd35608b5ba27747bb1df17ef94bf8f2172541ce6ad77ce1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Sep 7, 2026.
Transparency logRelease files / worldcut-1.0.0-py3-none-any.whl
| Download URL | worldcut-1.0.0-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a9e2d0e6cb5ab214484018a3feb2a23c1d96bb908d6791dea0aeb7165f287b0d
|
|
BLAKE2b-256 checksum How to use checksums |
46c2c46f398f91853cbe5aa19993185f88f86fd785bc8298d91e4b951eded3ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Sep 7, 2026.
Transparency logSecurity for worldcut 1.0.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for worldcut-1.0.0.tar.gz
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 Sep 7, 2026.
Transparency logA 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.