Metadata-Version: 2.4
Name: octri-spec-auditor
Version: 0.1.3
Summary: Python bindings for the offline Octri Rust Spec Auditor
License: Apache-2.0
Project-URL: Repository, https://github.com/octridev/octri-spec-auditor
Project-URL: Issues, https://github.com/octridev/octri-spec-auditor/issues
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: MacOS
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# Octri Spec Auditor for Python

[Live demo](https://octri.dev/openapi-audit) · Score how well an OpenAPI 3.0, 3.1 or 3.2 document
will generate SDKs, docs and MCP tools, offline, with Octri's Rust auditor.

```sh
pip install octri-spec-auditor
```

```python
from octri_auditor import Auditor, text

report = Auditor().audit({"input": text(spec_text)})
print(report["score"])
```

Each platform wheel bundles the native library.
Supported platforms: Linux x64 and arm64 (glibc 2.36 or later) and macOS arm64. On other platforms, build
`liboctri_auditor_ffi` from [the repository](https://github.com/octridev/octri-spec-auditor) and pass its path to `Auditor`.

Requests, reports and the runtime contract are documented in the
[repository README](https://github.com/octridev/octri-spec-auditor#bindings). Licensed under Apache-2.0; the bundled library's
third-party notices ship with the package.
