novisentinel
Python SDK for NoviSentinel — the open-source privacy proxy for AI coding agents.
Installation
pip install novisentinel
Quick start
from novisentinel import Client
# No API key needed for local self-hosted NoviSentinel
client = Client()
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]"
Hosted / remote usage
client = Client(api_key="nvs_...", base_url="https://api.novisentinel.com")
Async
from novisentinel import AsyncClient
async with AsyncClient() as client:
result = await client.scan("Hello world", context="input")
Batch scanning
results = client.scan_batch(["text1", "text2"], context="input")
# Async version runs concurrently
results = await async_client.scan_batch(["text1", "text2"])
License
Apache-2.0 — see LICENSE.
Release files for novisentinel 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| novisentinel-1.1.1.tar.gz | 10.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| novisentinel-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.6 kB
Release files / novisentinel-1.1.1.tar.gz
| Download URL | novisentinel-1.1.1.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8fbc04732e38956377a1d59a3593636381f4bd1f0bf48217c60720028512dfa1
|
|
BLAKE2b-256 checksum How to use checksums |
f144222910d83ba10e94171d901e8d6393478f8c18094f4b0c73cd10e81692d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency logRelease files / novisentinel-1.1.1-py3-none-any.whl
| Download URL | novisentinel-1.1.1-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0fae80f41bba5cd62d36f13e31de75d5dec2ae4a3a923b44fe68cc8b974759dd
|
|
BLAKE2b-256 checksum How to use checksums |
7579e24bdfc6ef36cd5ee0e83a62597f84754db3c05d117b9116be5cd68d18f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 19, 2026.
Transparency log