Metadata-Version: 2.4
Name: bomprobe
Version: 1.1.0
Summary: SBOM quality auditor for CycloneDX and SPDX
Author: Aditya S.
License: MIT
Project-URL: Homepage, https://github.com/aks-builds/bomprobe
Project-URL: Repository, https://github.com/aks-builds/bomprobe
Project-URL: Issues, https://github.com/aks-builds/bomprobe/issues
Keywords: sbom,cyclonedx,spdx,bom,software-bill-of-materials,supply-chain,security,audit,ntia,compliance
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Quality Assurance
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# bomprobe (Python wrapper)

Python wrapper for [bomprobe](https://www.npmjs.com/package/bomprobe), the SBOM quality auditor.

Requires Node.js 18+ and bomprobe installed globally (`npm install -g bomprobe`).

## Install

```bash
pip install bomprobe
```

## CLI usage

```bash
bomprobe-py sbom.json
bomprobe-py sbom.json --format markdown --profile ntia
```

Or as a module:

```bash
python -m bomprobe sbom.json --format json
```

## Python API

```python
import bomprobe

# Audit a file
result = bomprobe.audit("sbom.json")
print(result["score"])

# Audit a dict
sbom = {"bomFormat": "CycloneDX", "components": [...]}
result = bomprobe.audit_dict(sbom, profile="ntia")

# List checks
print(bomprobe.checks())
```
