Metadata-Version: 2.4
Name: tinyusdz
Version: 0.9.3
Summary: Tiny, dependency-free USD/USDA/USDC/USDZ loader + Tydra scene access, with NumPy-friendly zero-copy arrays (CPython abi3 wheel).
Author-email: Syoyo Fujita <syoyo@lighttransport.com>, "Light Transport Entertainment, Inc." <syoyo@lighttransport.com>
License: Apache 2.0 License 
        
        Copyright (c) 2020-2023 Syoyo Fujita
        Copyright (c) 2024-Present Light Transport Entertainment Inc.
        
           Licensed under the Apache License, Version 2.0 (the "License");
           you may not use this file except in compliance with the License.
           You may obtain a copy of the License at
        
               http://www.apache.org/licenses/LICENSE-2.0
        
           Unless required by applicable law or agreed to in writing, software
           distributed under the License is distributed on an "AS IS" BASIS,
           WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
           See the License for the specific language governing permissions and
           limitations under the License.
        
Project-URL: Homepage, https://github.com/lighttransport/tinyusdz
Project-URL: Repository, https://github.com/lighttransport/tinyusdz
Project-URL: Issues, https://github.com/lighttransport/tinyusdz/issues
Keywords: usd,usda,usdc,usdz,pixar,3d,scene
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Multimedia :: Graphics :: 3D Modeling
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: test
Requires-Dist: pytest>=7; extra == "test"
Requires-Dist: numpy>=1.24; extra == "test"
Dynamic: license-file

# tinyusdz

Python bindings for [tinyusdz](https://github.com/lighttransport/tinyusdz) —
a tiny, dependency-free USD/USDA/USDC/USDZ loader.

- Single abi3 wheel per platform: works on CPython 3.10, 3.11, 3.12, 3.13+.
- No NumPy dependency; zero-copy via the Python buffer protocol.
- No Pixar USD install required.

## Install

```sh
pip install tinyusdz
```

## Quick start

```python
import tinyusdz

stage = tinyusdz.load("scene.usdz")
for prim in tinyusdz.traverse(stage):
    print(prim.type_name, prim.name)

mesh = stage.get_prim_at_path("/World/Mesh")
points = mesh.get_attribute("points").value
# Zero-copy NumPy view (optional — NumPy is not required)
import numpy as np
arr = np.asarray(points)
print(arr.shape, arr.dtype)
```

## License

Apache 2.0
