Skip to main content

Unofficial python stubs for Pixar's Universal Scene Description (USD)

These stubs are designed to be used with a type checker like mypy to provide static type checking of python code, as well as to provide analysis and completion in IDEs like PyCharm and VSCode (with Pylance).

Installing

pip install types-usd

The version of the package corresponds to the version of USD that it is generated from, plus a version suffix for the revision of the stubs

The stubs have been tested against a large USD codebase using mypy, however, there are still known issues that need to be resolved.

Using these stubs with mypy will produce erros within the stubs themselves, mostly about missing/unknown types. I've left these errors unsilenced as a reminder to fix them. I recommend adding the following config to your mypy.ini to silence these errors:

[mypy-pxr.*]
ignore_errors = true

If you find any other issues, please report them on the github issues page.

Developing

The stubs are created using information extracted from python signatures generated by boost-python in each function's docstring, combined with data parsed as from the USD C++ docs.

Currently, creating the stubs requires custom forks of mypy and USD, but I hope to have my changes merged into upstream soon.

Metadata

Release files for types-usd 24.5.2

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

Source distribution (sdist)

Source distribution for types-usd 24.5.2
File Size Uploaded Provenance Actions
types_usd-24.5.2.tar.gz 487.7 kB Without provenance Details for types_usd-24.5.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for types-usd 24.5.2
File Interpreter ABI Platform Actions
types_usd-24.5.2-py2.py3-none-any.whl Python 3, Python 2 none any Details for types_usd-24.5.2-py2.py3-none-any.whl

Total release size: 1.0 MB

Release files / types_usd-24.5.2.tar.gz

Download URL types_usd-24.5.2.tar.gz
Size 487.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5da654fdc17dfb8ddf2b264c626e5236e6572b5359498c5ec634b5577abe86fa
BLAKE2b-256 checksum
How to use checksums
1e2eb27175e276886dece2660c527556981dbf9465b977826e8b602500113fed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.7.9 Darwin/22.6.0

Release files / types_usd-24.5.2-py2.py3-none-any.whl

Download URL types_usd-24.5.2-py2.py3-none-any.whl
Size 541.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e696c40f7aec7fa3f65f14d26345b9b747d9004616bcd9fb01c85d4bb52b3d68
BLAKE2b-256 checksum
How to use checksums
a93877e716ff072350c3ae98da836e26080ffaf72e5da41c301dad55d23d8897
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.7.9 Darwin/22.6.0

Security for types-usd 24.5.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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