Skip to main content

NVIDIA OpenUSD Profiles

Project description

Omniverse USD Profiles

A framework for defining and managing OpenUSD asset profiles, capabilities, and requirements. This library provides tools for parsing profile specifications from Markdown, generating Python code, and integrating with Sphinx documentation.

Features

  • Profile definitions — Define capabilities, features, and requirements in structured Markdown
  • Code generation — Generate Python enums and dataclasses from profile specifications
  • Sphinx integration — Custom directives and roles for rendering profile documentation
  • Validation support — Generate validation rules from requirement specifications
  • Extensible — Modular architecture for custom profile components

Installation

Install from PyPI:

pip install omniverse-usd-profiles

Basic Usage

Code Generation

Generate Python code from profile specifications:

python -m omni.usd_profiles.codegen --docs-root path/to/specs --destination-dir path/to/output --namespace mypackage.profiles

Sphinx Integration

Add to your Sphinx conf.py:

extensions = [
    "omni.usd_profiles.sphinx.ext",
]

Use directives in your documentation:

```{requirements-table}
geometry/mesh-valid
geometry/mesh-normals
```

```{features-table}
geometry/feature-mesh
```

Use roles for inline tags and compatibility badges:

{tag}`performance` - Display a tag badge
{compatibility}`omniverse` - Display a compatibility badge

Documentation

Requirements

  • Python 3.10 or later
  • Jinja2 3.1.5 or later
  • Sphinx 7.2.6 or later

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omniverse_usd_profiles-1.10.22-py3-none-any.whl (72.6 kB view details)

Uploaded Python 3

File details

Details for the file omniverse_usd_profiles-1.10.22-py3-none-any.whl.

File metadata

File hashes

Hashes for omniverse_usd_profiles-1.10.22-py3-none-any.whl
Algorithm Hash digest
SHA256 409939f3a2acd3bbeda603d66da4fafb7ff9a3834cdbf315d39a368fb2bbce30
MD5 151a7980f9f211d0e398e2f6d6ee32b5
BLAKE2b-256 c5709c30d428689c1004a09adccaad461cbb36db02ba6455db9848fafb576ce8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page