Metadata-Version: 2.4
Name: b4n1-audit
Version: 0.1.1
Summary: B4N1 Audit SDK for Python — security & code quality scanner with bundled binary
Author-email: Bani Montoya <banimontoya@gmail.com>
License-Expression: BUSL-1.1
Project-URL: Homepage, https://b4n1.com
Project-URL: Repository, https://github.com/B4N1-com/b4n1-audit
Keywords: security,audit,scanner,sarif,static-analysis,ai
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Security
Requires-Python: >=3.8
Description-Content-Type: text/markdown

# b4n1-audit — Python SDK

Wrapper Python del binario `b4n1-audit` (patrón one-binary-N-wrappers).
El binario viene empaquetado por plataforma en `b4n1audit/bin/` — o se
resuelve con `B4N1_AUDIT_BIN` / `PATH`.

```python
from b4n1audit import run, binary_path, AuditError

print(binary_path())                 # binario resuelto (fail loud si no hay)
report = run("json", ".")            # dict/list (JSON) o str (texto)
sarif = run("sarif", ".")            # documento SARIF como texto
```

- `run()` lanza `AuditError` con stderr si el binario sale con exit ≠ 0.
- Orden de resolución: `B4N1_AUDIT_BIN` > binario empaquetado > `PATH`.
- Requires Python ≥ 3.8. The precompiled binary is bundled per platform.
