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 |
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.1.0b1
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 |
|---|---|---|---|---|
| primvaria_contract-0.1.0b1.tar.gz | 18.8 kB | With provenance | Details for primvaria_contract-0.1.0b1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| primvaria_contract-0.1.0b1-py3-none-any.whl | Python 3 | none | any | Details for primvaria_contract-0.1.0b1-py3-none-any.whl |
Total release size: 36.2 kB
Release files / primvaria_contract-0.1.0b1.tar.gz
| Download URL | primvaria_contract-0.1.0b1.tar.gz |
|---|---|
| Size | 18.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3cbb9ec9ecd19590e4738bc027122f9c286e21d3500a2e45eb64d4cd9633f8b6
|
|
BLAKE2b-256 checksum How to use checksums |
e19916ec478286c95ab52f03691e5d4fb64cb0f5b70888dbbf419ba67306e217
|
| 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 logRelease files / primvaria_contract-0.1.0b1-py3-none-any.whl
| Download URL | primvaria_contract-0.1.0b1-py3-none-any.whl |
|---|---|
| Size | 17.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e88d79b35363e78cc159a3db79a8fa027915142c3d4adcf80002f10d9396277a
|
|
BLAKE2b-256 checksum How to use checksums |
9ab91e6c1cc86f36a7f9e4ca9f8a4e1389186b226c6ce42685a90cb8e8faf51f
|
| 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 logSecurity for primvaria-contract 0.1.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.
Attestation for primvaria_contract-0.1.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 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.