Metadata-Version: 2.4
Name: spirv-adapter-model-explorer
Version: 0.1.0
Summary: Adapter for Model Explorer to support SPIR-V binary files
Keywords: model-explorer,spirv,visualization
License-Expression: Apache-2.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Project-URL: Repository, https://github.com/arm/spirv-adapter-model-explorer
Requires-Python: <3.14,>=3.10
Requires-Dist: ai-edge-model-explorer<0.2.0,>=0.1.26
Requires-Dist: cffi>=1.16
Description-Content-Type: text/markdown

<!---
SPDX-FileCopyrightText: Copyright 2026 Arm Limited and/or its affiliates <open-source-office@arm.com>
SPDX-License-Identifier: Apache-2.0
--->

# SPIR-V Adapter for Model Explorer

Standalone Model Explorer adapter for SPIR-V binary files.

## Development

Prerequisites:

- Python 3.10 to 3.13
- CMake and a C/C++ build toolchain for the native SPIRV-Tools test support
- [Hatch](https://hatch.pypa.io/) for the standard development environment

Install Hatch if needed:

```sh
python -m pip install hatch
```

Run the full test workflow:

```sh
hatch run test
```

This configures and builds the native SPIRV-Tools dependency, stages it for tests, then runs `pytest -q`.

For quick pure-Python test iterations after setup:

```sh
python -m pytest -q
```

Run linting with the project dev environment:

```sh
hatch run ruff check src
```
