This release is a pre-release and may not be stable for production use.
lightusd
Lightweight, dependency-free USD (Universal Scene Description) library for Python: load and author USDA / USDC / USDZ, resolve composition, and extract GPU-ready render data — with zero-copy NumPy interop.
Built on the LightUSD next core + tydra-next (no pxrUSD install required,
no legacy core in the wheel; native cmake -S . and WASM still
provide the legacy path via web/binding.cc). v1.0.0, npm preview
dist-tag. Wheels:
cp310-abi3— one stable-ABI wheel covers CPython 3.10+cp314t— native free-threaded (GIL-less) CPython 3.14 wheel
pip install lightusd
Reading
import numpy as np
import lightusd
stage = lightusd.load("scene.usdz") # usda / usdc / usdz, composed
for prim in stage: # depth-first traversal
print(prim.path, prim.type_name)
mesh = stage.prim_at("/World/Mesh")
points = np.asarray(mesh["points"]) # zero-copy (N, 3) float32
attr = mesh.attribute("xformOp:translate")
if attr.has_timesamples:
value = attr.get(time=12.0) # linear interpolation
print(mesh.relationship("material:binding").targets)
Authoring
st = lightusd.Stage.create()
st.up_axis = "Y"
grid = st.define_prim("/World/Grid", "Mesh")
grid.set("points", np.zeros((64, 3), np.float32), type="point3f[]")
grid.set("purpose", "render", uniform=True)
grid.set("xformOp:translate", (0.0, 1.0, 0.0), time=0.0)
st.set_default_prim("World")
st.save("out.usdc") # or .usda / .usdz
Render extraction (tydra)
from lightusd import tydra
scene = tydra.to_render_scene(stage) # triangulated, GPU-friendly
for mesh in scene.meshes:
vertices = np.asarray(mesh.points) # (N, 3) float32
indices = np.asarray(mesh.triangulated_indices) # (T,) uint32
material = scene.materials[mesh.material_id]
base_color = material.param("diffuse_color") # tuple or RenderTexture
Notes
- NumPy is optional (interop only, not a dependency).
lightusd.flatten_file(src, dst)runs a low-memory compose+flatten pipeline that streams large arrays through without decoding them.- Free-threaded CPython: concurrent reads of one
Stageare safe; do not author to a stage while other threads read it.
Apache 2.0. Part of LightUSD.
Metadata
Release files for lightusd 1.0.0rc4
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 | |
|---|---|---|---|---|
| lightusd-1.0.0rc4.tar.gz | 5.4 MB | With provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| lightusd-1.0.0rc4-cp314-cp314t-win_arm64.whl | CPython 3.14 | CPython 3.14 free-threading | Windows ARM64 | Details |
| lightusd-1.0.0rc4-cp314-cp314t-win_amd64.whl | CPython 3.14 | CPython 3.14 free-threading | Windows x86-64 | Details |
| lightusd-1.0.0rc4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl | CPython 3.14 | CPython 3.14 free-threading | Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 | Details |
| lightusd-1.0.0rc4-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl | CPython 3.14 | CPython 3.14 free-threading | Linux glibc 2.27+ ARM64, Linux glibc 2.28+ ARM64 | Details |
| lightusd-1.0.0rc4-cp314-cp314t-macosx_11_0_arm64.whl | CPython 3.14 | CPython 3.14 free-threading | macOS 11.0+ ARM64 | Details |
| lightusd-1.0.0rc4-cp310-abi3-win_arm64.whl | CPython 3.10 | abi3 | Windows ARM64 | Details |
| lightusd-1.0.0rc4-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| lightusd-1.0.0rc4-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 | Details |
| lightusd-1.0.0rc4-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.27+ ARM64, Linux glibc 2.28+ ARM64 | Details |
| lightusd-1.0.0rc4-cp310-abi3-macosx_11_0_arm64.whl | CPython 3.10 | abi3 | macOS 11.0+ ARM64 | Details |
Total release size: 16.9 MB
Release files / lightusd-1.0.0rc4.tar.gz
| Download URL | lightusd-1.0.0rc4.tar.gz |
|---|---|
| Size | 5.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc17215df2863cf7c3e5015d40569e5602fa47fed62b8af3389c11c5c09206c8
|
|
BLAKE2b-256 checksum How to use checksums |
bc374e404bf16b9710974a0238d7d727e42fcc8cb9864972a8b3a8c9b025d61e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 3, 2026.
Transparency logRelease files / lightusd-1.0.0rc4-cp314-cp314t-win_arm64.whl
| Download URL | lightusd-1.0.0rc4-cp314-cp314t-win_arm64.whl |
|---|---|
| Size | 973.2 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Windows ARM64 |
|
SHA-256 checksum How to use checksums |
03781ce4484abbed67e09d5c3ce6f67f92cfa2a049357abb390be91caeab7d57
|
|
BLAKE2b-256 checksum How to use checksums |
b636598f2d7f8aff975b3d2d14311af72fac42395127534211362d6ba3f556ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 3, 2026.
Transparency logRelease files / lightusd-1.0.0rc4-cp314-cp314t-win_amd64.whl
| Download URL | lightusd-1.0.0rc4-cp314-cp314t-win_amd64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Windows x86-64 |
|
SHA-256 checksum How to use checksums |
de47ae018214bf530a164fb37c3990de061cd2b92e839c463d73bf6720e1b0b8
|
|
BLAKE2b-256 checksum How to use checksums |
134898b16dd03bac9f6f1ade6e0aa59f054d5990a4f8074c98e7bce95974d47f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 3, 2026.
Transparency logRelease files / lightusd-1.0.0rc4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | lightusd-1.0.0rc4-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
8daad5378bf6c5454247fc68771648d0c8919a599b0c7e70af01664aa2aa403c
|
|
BLAKE2b-256 checksum How to use checksums |
095111f88bbf0a711c61ece5e0ae66d0ebbe2c0b9e68b3de2ab9415239f8b89d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 3, 2026.
Transparency logRelease files / lightusd-1.0.0rc4-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
| Download URL | lightusd-1.0.0rc4-cp314-cp314t-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
e8836e0b7f8df4893e356d58c7a459f73c97afcdb56c8068f11a47eef584938e
|
|
BLAKE2b-256 checksum How to use checksums |
3ac8f77795f1d08deb6bc43e66c73ddd036948feb917cd59036e3c7731615bf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 3, 2026.
Transparency logRelease files / lightusd-1.0.0rc4-cp314-cp314t-macosx_11_0_arm64.whl
| Download URL | lightusd-1.0.0rc4-cp314-cp314t-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c87a146bdd4a5165e922d3b9fd98a40b9afc8da1c155c5629559527c33c2278b
|
|
BLAKE2b-256 checksum How to use checksums |
3a6555fa456616950b7e5f6568b9b8e2b2fe0bfa296e9e3b872e663c9c0b521a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 3, 2026.
Transparency logRelease files / lightusd-1.0.0rc4-cp310-abi3-win_arm64.whl
| Download URL | lightusd-1.0.0rc4-cp310-abi3-win_arm64.whl |
|---|---|
| Size | 939.5 kB |
| Tags | CPython 3.10 Windows ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
69bfc74acd5ebb6a9c23ba1ee3d4663ff17d489de75a0d9790e3ad53fb8ee73b
|
|
BLAKE2b-256 checksum How to use checksums |
f666fbfdae36550dabbfe199d170e1c11a6793522a568b8b504c3ed057acb71c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 3, 2026.
Transparency logRelease files / lightusd-1.0.0rc4-cp310-abi3-win_amd64.whl
| Download URL | lightusd-1.0.0rc4-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
a33a2e3250cb8d1bc9161a010e323aa3c51f2686795ca29fa5042696ade245b7
|
|
BLAKE2b-256 checksum How to use checksums |
3870c5f51f856bf0708b59c0509b9600e037514da76207747d670d2e9b03b3c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 3, 2026.
Transparency logRelease files / lightusd-1.0.0rc4-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | lightusd-1.0.0rc4-cp310-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
6b27b147fbf9d6a1f8b854edee030dd21de414fd176bab9b279e035473cc1b00
|
|
BLAKE2b-256 checksum How to use checksums |
acc7b299f4bd03d350d086d0ccf50b41c59cb9cb009481e1537082951a9f29de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 3, 2026.
Transparency logRelease files / lightusd-1.0.0rc4-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
| Download URL | lightusd-1.0.0rc4-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.10 Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
fc94ee77ea628d303230cd0a7c5c5e736112b42a9593232d3417de566fe8f7a7
|
|
BLAKE2b-256 checksum How to use checksums |
eb76a0c988f550cf6fb86db88e890c76a6db4b210ab836b652ccf23c938cdc52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 3, 2026.
Transparency logRelease files / lightusd-1.0.0rc4-cp310-abi3-macosx_11_0_arm64.whl
| Download URL | lightusd-1.0.0rc4-cp310-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.10 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7405201d7cc12c9092c521ea8a0145d90fe6920d51abdb2b6617f43ede6cf648
|
|
BLAKE2b-256 checksum How to use checksums |
b5680beb42e0e3b01e5f391191184b00c3e3f92b524acc2f3a5c6ad01ed42de8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 3, 2026.
Transparency logSecurity for lightusd 1.0.0rc4
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
All 11 files in this release have been uploaded with provenance metadata.
Attestation for lightusd-1.0.0rc4.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 Sep 3, 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.