Metadata-Version: 2.4
Name: nyarc
Version: 1.3.2
Summary: Python SDK for Nyarc Firmware Security Audit Tool
Author-email: Nyarime <nyarime@naixi.net>
License: MIT
Project-URL: Homepage, https://nyarc.bbie.net
Project-URL: Repository, https://github.com/Nyarime/nyarc-python
Keywords: firmware,security,audit,iot,reverse-engineering
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Security
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# Nyarc Python SDK

Python wrapper for [Nyarc](https://nyarc.bbie.net) firmware security audit tool.

## Install

```
pip install nyarc
```

## Quick Start

```python
import nyarc

# Detect firmware format
print(nyarc.detect("firmware.bin"))

# Unpack firmware
result = nyarc.unpack("firmware.bin", output_dir="./out")

# iKuai specific
nyarc.ikuai.unpack("iKuai.iso", "./ikuai-out")
nyarc.ikuai.audit("./ikuai-out/rootfs")

# MCP client
client = nyarc.MCPClient(port=8888)
print(client.tools())
```

## Requirements

- Python ≥ 3.8
- Nyarc CLI binary installed
