Metadata-Version: 2.4
Name: novisentinel
Version: 1.0.0
Summary: Python SDK for the NoviSentinel AI Safety & PII Firewall
Project-URL: Homepage, https://novisentinel.com
Project-URL: Repository, https://github.com/009-KumarJi/novisentinel-core
Project-URL: Issues, https://github.com/009-KumarJi/novisentinel-core/issues
Project-URL: Changelog, https://github.com/009-KumarJi/novisentinel-core/blob/main/CHANGELOG.md
License: Apache-2.0
License-File: LICENSE
Keywords: ai-safety,guardrails,llm,pii,prompt-injection
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: httpx>=0.28.1
Requires-Dist: pydantic>=2.10.0
Provides-Extra: test
Requires-Dist: pytest-asyncio>=0.24.0; extra == 'test'
Requires-Dist: pytest>=8.3.4; extra == 'test'
Requires-Dist: respx>=0.21.1; extra == 'test'
Description-Content-Type: text/markdown

# novisentinel

Python SDK for the [NoviSentinel](https://github.com/009-KumarJi/novisentinel-core) AI safety and PII firewall.

## Installation

```bash
pip install novisentinel
```

## Quick start

```python
from novisentinel import Client

client = Client(api_key="nvs_...")

result = client.scan("My SSN is 123-45-6789", context="input")
print(result.action)       # "block" | "warn" | "redact" | "allow"
print(result.has_pii)      # True
print(result.redacted_text) # "My SSN is [SSN]"
```

## Async

```python
from novisentinel import AsyncClient

async with AsyncClient(api_key="nvs_...") as client:
    result = await client.scan("Hello world", context="input")
```

## License

Apache-2.0 — see [LICENSE](LICENSE).
