Metadata-Version: 2.4
Name: znyx-core
Version: 1.0.0
Summary: Znyx guardrails detection engine: detectors, policy resolution, and orchestration for LLM safety, usable in-process.
Author: Zitrino
License: Apache-2.0
Project-URL: Homepage, https://github.com/zitrino-oss/znyx-runtime
Project-URL: Source, https://github.com/zitrino-oss/znyx-runtime
Project-URL: Issues, https://github.com/zitrino-oss/znyx-runtime/issues
Keywords: llm,guardrails,safety,ai-security,prompt-injection,pii,content-moderation
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Security
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: pydantic>=2.5.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: rapidfuzz>=3.6.0
Requires-Dist: httpx>=0.26.0
Requires-Dist: cryptography>=41.0.0
Requires-Dist: defusedxml>=0.7.1
Requires-Dist: fastapi>=0.109.0
Provides-Extra: semantic
Requires-Dist: sentence-transformers>=2.2.0; extra == "semantic"

# znyx-core

The Znyx guardrails detection engine: detectors, policy resolution, scoring, and
orchestration for LLM safety. Importable in-process, with no server or HTTP hop.

```bash
pip install znyx-core
```

`znyx-core` is the engine that powers the [`znyx-runtime`](https://github.com/zitrino-oss/znyx-runtime)
service. Install it directly when you want to run detection inside your own Python
process rather than calling the runtime over HTTP.

It runs rules-only by default. Model-backed (ML) detection is an optional layer
served by a separate Znyx inference sidecar over HTTP; without it, every detector
has a deterministic rules path.

See the [repository README](https://github.com/zitrino-oss/znyx-runtime) for
configuration, the policy schema, and usage examples.

## License

Apache-2.0
