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.5 §11.4).
  • Deterministic YAML 1.2.2 Core emitter & strict RFC 7493 I-JSON projection (dump, dump_all, from_plain, load_ijson, EmitLimits, EmitOptions) with yaml11_safe default compatibility quoting (spec-v1.5 §10.2, §11.3).

License

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

Metadata

Release files for yamlprims 0.2.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.2.0
File Actions
yamlprims-0.2.0-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details for yamlprims-0.2.0-cp310-abi3-win_arm64.whl
yamlprims-0.2.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for yamlprims-0.2.0-cp310-abi3-win_amd64.whl
yamlprims-0.2.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.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
yamlprims-0.2.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for yamlprims-0.2.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
yamlprims-0.2.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for yamlprims-0.2.0-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 2.6 MB

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

Download URL yamlprims-0.2.0-cp310-abi3-win_arm64.whl
Size 424.2 kB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
c50022fcc9f4f37931f72d2f7c01b56e376c0b3d0e9957bbbb486bfc5f982416
BLAKE2b-256 checksum
How to use checksums
7c3cab009e934b93cb2a6a8425327663c448fb4a6c98d33da64279d2fba0357c
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 11, 2026.

Transparency log

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

Download URL yamlprims-0.2.0-cp310-abi3-win_amd64.whl
Size 436.7 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
a18026f9d2f301bd0a4d086fbe014c4374c89b2ce1035797a7d425fda04c55c5
BLAKE2b-256 checksum
How to use checksums
27d629eb4a0ace1f8583f0c9a287a979e846e5928874497c5e6cb4d852c08717
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 11, 2026.

Transparency log

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

Download URL yamlprims-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 584.3 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
730fc8b2c43931b35e467c352d70c2be3c5c9ebb798ca8fe0116024de62c934d
BLAKE2b-256 checksum
How to use checksums
e3111dadbcfece87c1b4082c08db245745567abad222ddddc9119273eaef6a1e
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 11, 2026.

Transparency log

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

Download URL yamlprims-0.2.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 578.7 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
184f3dc2f5650409315555e9b5c03f131d7e3d79421bf72970eee00686459c38
BLAKE2b-256 checksum
How to use checksums
40d60e4242d5de39e449b2b051494a46716bc27ed71b781090b776dfcedf9291
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 11, 2026.

Transparency log

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

Download URL yamlprims-0.2.0-cp310-abi3-macosx_11_0_arm64.whl
Size 538.4 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f88a645afcc38c8f7fefb2ab28749c2b33b5486751e81a8904e28e1638a62e1a
BLAKE2b-256 checksum
How to use checksums
ec8b0debe80b0e9946e6a8c9fa1e42e359690d2b886ff1ddbf8601ce75e200aa
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 11, 2026.

Transparency log

Security for yamlprims 0.2.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.2.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 11, 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