Skip to content
Machine Learning
Skill

/project-setup-python

Setting up a new Python project that uses ovrtx. Use when user asks to create a new Python project, set up ovrtx in Python, create a pyproject.toml, or scaffold a Python app.

From plugin
ovrtx
27441 skills

Claude Code

$ npx -y skills add nvidia-omniverse/ovrtx --skill project-setup-python --agent claude-code

SKILL.md

project-setup-python.SKILL.md
# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: CC-BY-4.0 AND Apache-2.0
name: project-setup-python
description: >
  Setting up a new Python project that uses ovrtx. Use when user asks to create a new
  Python project, set up ovrtx in Python, create a pyproject.toml, or scaffold a Python
  app.
license: CC-BY-4.0 AND Apache-2.0
author: NVIDIA ovrtx
tags:
  - ovrtx
  - python
  - setup
tools:
  - Read
  - Grep
  - Shell
  - Write

Project Setup (Python)

When to Use

Use this skill when the user asks to create a new Python project, set up ovrtx in Python, create a pyproject.toml, or scaffold a Python app.

Inputs

Resolve inputs in this order: existing repository files and referenced snippets, explicit user request, then broader agent context.

  • Project language, package manager, build system, and target platform from the user request.
  • Repository source snippets and example projects referenced below. Treat these snippets as the API source of truth.

Prerequisites

  • Use an ovrtx checkout that contains the referenced examples and docs tests.
  • Confirm Python, CMake, compiler, and package-index requirements before giving setup commands.
  • Avoid modifying tracked dependency files unless the user explicitly asks for project scaffolding changes.

Instructions

1. Identify the requested project type, platform, package source, and expected run command. 2. Read the minimal example and setup snippets before writing scaffolding. 3. Use the repository's existing Python or CMake conventions instead of inventing a new layout. 4. Include renderer creation and first-frame validation only after the project dependency setup is complete. 5. When changing code, run the narrow example setup or docs test whenever practical.

Output Format

  • For explanations, cite the relevant API names, source snippets, and caveats.
  • For code changes, summarize the files changed, snippets affected, and validation run.

Scripts

This skill has no scripts.

Limitations

  • The referenced snippets remain the source of truth; update or add tested snippets before documenting new API usage.

Overview

ovrtx and ovstage are distributed as Python packages on PyPI. Use `uv` when you want project and dependency management. This skill scaffolds the current attached-stage workflow with both packages. ovstage remains optional for standalone compatibility code.

Project Structure

my-ovrtx-app/
  pyproject.toml
  main.py

Setup with uv (Recommended)

mkdir my-ovrtx-app && cd my-ovrtx-app
uv init
uv add ovrtx ovstage

This creates a `pyproject.toml` and `uv.lock`. Then add `numpy` (required for array/tensor operations):

uv add numpy

The resulting `pyproject.toml` will look like:

[project]
name = "my-ovrtx-app"
version = "0.1.0"
requires-python = ">=3.10,<3.14"
dependencies = [
    "ovrtx",
    "ovstage",
    "numpy",
]

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

Adding optional dependencies

For image output:

uv add pillow

For GPU compute with Warp:

uv add warp-lang

For visualization with rerun:

uv add rerun-sdk

Setup with pip

pip install ovrtx ovstage

Minimal main.py

> **Source:** `examples/python/minimal/main.py` snippet `create-renderer` > > **Source (continued):** `examples/python/minimal/main.py` snippet `add-usd` > > **Source (continued):** `examples/python/minimal/main.py` snippet `step` > > **Source (continued):** `examples/python/minimal/main.py` snippet `read-render-output`

ovrtx and ovstage Load Order

Importing the modules does not load either OpenUSD-dependent runtime. Two flows are supported:

  • **Renderer first (the minimal example):** `ovrtx.Renderer()` opens the ovrtx

shared loader, registers schema paths, and loads the ovrtx runtime/OpenUSD. `ovstage.Stage()` then opens the ovstage shared loader and loads the ovstage runtime against that initialized OpenUSD.

  • **Stage first:** call `ovrtx.register_schema_paths()` before constructing the

first `ovstage.Stage`. Registration opens only the ovrtx shared loader and publishes discovery paths. Stage construction then loads the ovstage runtime and OpenUSD; later `ovrtx.Renderer()` loads the ovrtx runtime with the paths already fixed.

Treat `ovstage.library_version()` as ovstage initialization for ordering purposes because its version probe creates a temporary native instance. The schema call must precede it in a stage-first process.

Run

uv run main.py --png
# or with pip-installed ovrtx and ovstage:
python main.py --png

A successful run writes `_output/render.png`. The output should match the documented minimal reference image.

Key Dependencies

| Package | Purpose | |---------|---------| | `ovrtx` | Core renderer | | `ovstage` | Runtime scene ownership for attached rendering | | `pillow` | Image I/O (PNG, JPEG) | | `numpy` | Array manipulation, DLPack interop | | `warp-lang` | GPU compute kernels | | `rerun-sdk` | Real-time visualization |

Troubleshooting

  • If `uv` is missing (`uv: command not found`), install `uv` before using the recommended setup commands, or translate the dependency steps to an equivalent `pip`/virtualenv workflow. PyPI is still the package source.
  • ovrtx supports Python 3.10-3.13. If install resolution fails, no matching wheel is found, or imports fail on another Python version, recreate the environment with a supported interpreter (`uv python install 3.13` and `uv python pin 3.13`, or a virtualenv using Python 3.10-3.13). Do not work around unsupported interpreters by editing ovrtx dependency constraints.
  • If package installation fails (`uv add ovrtx ovstage` or `pip install ovrtx ovstage` for attached mode), classify the failure before treating it as an ovrtx issue: resolver or `no matching distribution` errors usually indicate an unsupported P
Read more
@nvidia-omniverse
Ships withovrtx

ovrtx is a C and Python library for embedding Omniverse RTX sensor simulation and visualization directly into applications.

Stars on GitHub

Momentum

stars in total
274
Star history of nvidia-omniverse/ovrtx on GitHub, a chart by star-history.com

Other skills on ovrtx.

application-flow

application-flow

High-level overview of a typical ovrtx application lifecycle. Use when user asks how to structure an ovrtx program, what the main…

async-operations

async-operations

Asynchronous operation patterns including polling, timeouts, and non-blocking workflows. Use when user asks about async…

attribute-bindings

attribute-bindings

Replacing persistent ovrtx attribute bindings with reusable ovstage queries for repeated writes or maps. Use when user asks about…

binding-materials

binding-materials

Binding materials to prims at runtime. Use when user asks to assign a material, change a material, set material binding, or swap…

camera-outputs-rt2

camera-outputs-rt2

Available camera render outputs for Real-Time Path Tracing (RT2) mode. Use when user asks what AOVs/render vars are available,…

cloning-prims

cloning-prims

Cloning USD subtrees to create copies at new paths. Use when user asks to clone, duplicate, copy a prim, or create instances of…

More skills from other plugins.

analyze-ci

analyze-ci

Analyze failed GitHub Action jobs. Takes one or more GitHub URLs (job, workflow-run, or PR) and summarizes each failure with root…

mlflow11d29k
@mlflow@mlflowInstall Skill
hf-cli

hf-cli

Hugging Face Hub CLI (`hf`) for downloading, uploading, and managing models, datasets, spaces, buckets, repos, papers, jobs, and…

skills3w11k
@huggingface@huggingfaceInstall Skill
feast-architecture

feast-architecture

Internals of the Feast codebase — how each component works, where the key abstractions live, and the data flow through the…

feast2w7.4k
@feast-dev@feast-devInstall Skill
add-ecosystem

add-ecosystem

Add a new ecosystem and base model to basemodel.constants.ts. Use when onboarding a new model family from providers like Baidu,…

civitai12d7.3k
@civitai@civitaiInstall Skill

Questions about project-setup-python.

Which coding agents can use project-setup-python?
project-setup-python installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.