Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

primvaria-contract

The Primvaria OpenUSD contract, as code: what the four generators of the suite (Granulaire, Maillage, Filaire and Quincaillerie) write alike and how it is checked. The contract itself is docs/contract.md.

You rarely install it yourself: each generator depends on it and gives its modules under its own name (granulaire.contract, granulaire.pack, granulaire.ground, python -m granulaire.conformance), filled in with the generator's name and version.

Module What it holds
primvaria_contract.contract asset identity, drawn and measured values, semantic labels, variant sets, MateFrames, engine layers, and the checks (conformance, check)
primvaria_contract.pack the pack files, instances.csv and manifest.json (write_pack, check_pack)
primvaria_contract.ground the shared ground and physics scene
primvaria_contract.conformance the command line of the check
primvaria_contract.validate the OpenUSD validators shipped with OpenUSD, on every variant of every variant set

Check files of any generator of the suite:

pip install primvaria-contract
python -m primvaria_contract.conformance output/

Writing takes the generator's name and version explicitly:

from primvaria_contract import contract

contract.write_identity(
    prim,
    name="Grain_000",
    preset="beach_sand",
    seed=1,
    identifier="./file.usdc",
    generator="granulaire",
    version="0.6.0b1",
)
problems = contract.conformance(stage)  # any generator of the suite
problems = contract.conformance(stage, "granulaire", "0.6.0b1")  # and the assets name it

Released from the primvaria repository (folder contract/, tags contract-vX.Y.Z), before the generators that need its new version. MIT licence.

Metadata

Release files for primvaria-contract 0.2.0b1

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

Source distribution (sdist)

Source distribution for primvaria-contract 0.2.0b1
File Size Uploaded Provenance Actions
primvaria_contract-0.2.0b1.tar.gz 20.8 kB With provenance Details for primvaria_contract-0.2.0b1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for primvaria-contract 0.2.0b1
File Interpreter ABI Platform Actions
primvaria_contract-0.2.0b1-py3-none-any.whl Python 3 none any Details for primvaria_contract-0.2.0b1-py3-none-any.whl

Total release size: 40.4 kB

Release files / primvaria_contract-0.2.0b1.tar.gz

Download URL primvaria_contract-0.2.0b1.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8d378180091f297d954b07b0c47d03d2c8c44c00a8929caba2f57be84714aa95
BLAKE2b-256 checksum
How to use checksums
854fa7e1a1b8f17bf2e65e7803a2602d03b6e183947e496ca47a5bb2a807916f
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 25, 2026.

Transparency log

Release files / primvaria_contract-0.2.0b1-py3-none-any.whl

Download URL primvaria_contract-0.2.0b1-py3-none-any.whl
Size 19.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4dd5c6808d6b0e7978dfddbd747114b472d9b744981ee7f879a4239429145b3
BLAKE2b-256 checksum
How to use checksums
5ec209c2cb28f2f53299704bab7f6a78086ad5da735fcad23b9863e578a2e73f
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 25, 2026.

Transparency log

Security for primvaria-contract 0.2.0b1

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.

Select from 2 files

Attestation for primvaria_contract-0.2.0b1.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 Nov 25, 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