Skip to main content

yamlprims

YAML 1.2.2 Core Schema value loader, strict yamlprims-value/1 wire decoder, and canonical encoder for Python (CPython 3.10+ via abi3 extension over the Rust yamlprims crate).

Features

  • Lossless YAML 1.2.2 Core Schema Document / Node / Mapping tree (load, load_all, load_bytes, load_all_bytes) with arbitrary-precision Python int for 128-bit integers (i128::MIN..=u128::MAX), exact IEEE 754 binary64 float bits (-0.0, NaN, ±Infinity), Tag / Tagged preservation, and Span / Location coordinates (byte_offset, line, column).
  • Ordered Mapping without Python dict key collisions: YAML true, 1, and 1.0 remain distinct keys via yamlprims.key_eq rather than colliding as in Python's built-in dict.
  • Explicit to_plain() and encode_plain() loss matrix (spec-v1.4 §11.3): to_plain projects string-keyed mappings to dict and rejects non-string mapping keys or Tagged nodes with YamlprimsError(kind="type").
  • Strict yamlprims-value/1 wire decoder & canonical encoder (decode_wire, encode, encode_error) with byte-for-byte round-trip parity (spec-v1.4 §11.4).

License

Dual-licensed under MIT OR Apache-2.0. See LICENSE-MIT, LICENSE-APACHE, and NOTICE.

Metadata

Release files for yamlprims 0.1.0

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

Built distributions (wheels)

Table of built distributions (wheels) for yamlprims 0.1.0
File Actions
yamlprims-0.1.0-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details for yamlprims-0.1.0-cp310-abi3-win_arm64.whl
yamlprims-0.1.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for yamlprims-0.1.0-cp310-abi3-win_amd64.whl
yamlprims-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for yamlprims-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
yamlprims-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for yamlprims-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
yamlprims-0.1.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for yamlprims-0.1.0-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 2.1 MB

Release files / yamlprims-0.1.0-cp310-abi3-win_arm64.whl

Download URL yamlprims-0.1.0-cp310-abi3-win_arm64.whl
Size 326.4 kB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
08b258999b0b76d284d162698d7707a553cdb8d00a3bd52e2c8a668eb725f766
BLAKE2b-256 checksum
How to use checksums
14e72f6d6bface602170436545ae5a3a96b636faa83c853451a0d037622ff538
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 8, 2026.

Transparency log

Release files / yamlprims-0.1.0-cp310-abi3-win_amd64.whl

Download URL yamlprims-0.1.0-cp310-abi3-win_amd64.whl
Size 334.9 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
248e34c4408572753ed758edc9f37173ff522f2bf094b51dc7a6c391966039b8
BLAKE2b-256 checksum
How to use checksums
96e1910f850dc71925ffbc802f7b41bf83409cc45590e5578c95fbf3538b2b0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 8, 2026.

Transparency log

Release files / yamlprims-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL yamlprims-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 480.1 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
1a2e956d8974095e42375b20d3bb7124bcba5dc91e26d2ae5e971a4a62778569
BLAKE2b-256 checksum
How to use checksums
ea9c26af77534898ced4953f7744d9a3007c8a4e870fb302ffcdcded9e1b40a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 8, 2026.

Transparency log

Release files / yamlprims-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL yamlprims-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 477.6 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
d6a95aff232647c38090dfefd186e4cc9945700c4f6d29f82a31511323a47709
BLAKE2b-256 checksum
How to use checksums
26eafdc9ca2384be9f1ac1c887cb2095cdc7fc1c3ab8695693c0c1dbec63eece
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 8, 2026.

Transparency log

Release files / yamlprims-0.1.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL yamlprims-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
Size 441.5 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3116173f393384d47063d21ba1ad69bd6577e9e24e32a1cd77f7b3559bbe5737
BLAKE2b-256 checksum
How to use checksums
700bd4a36b1eb2dbef3e5233875f9c5f317994346eeeee8b6cb00c5abae18e46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 8, 2026.

Transparency log

Security for yamlprims 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.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for yamlprims-0.1.0-cp310-abi3-win_arm64.whl

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 Nov 8, 2026.

Transparency log

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.

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