Python SDK for NoviSentinel — privacy proxy for AI coding agents
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file novisentinel-1.1.1.tar.gz.
File metadata
- Download URL: novisentinel-1.1.1.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fbc04732e38956377a1d59a3593636381f4bd1f0bf48217c60720028512dfa1
|
|
| MD5 |
ca83078d8bc0ab641fdc90ee4587a606
|
|
| BLAKE2b-256 |
f144222910d83ba10e94171d901e8d6393478f8c18094f4b0c73cd10e81692d9
|
Provenance
The following attestation bundles were made for novisentinel-1.1.1.tar.gz:
Publisher:
release.yml on 009-KumarJi/novisentinel-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
novisentinel-1.1.1.tar.gz -
Subject digest:
8fbc04732e38956377a1d59a3593636381f4bd1f0bf48217c60720028512dfa1 - Sigstore transparency entry: 1572291307
- Sigstore integration time:
-
Permalink:
009-KumarJi/novisentinel-core@d18de5a8d36d74b8abc67abcbc9c02209db6f662 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/009-KumarJi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d18de5a8d36d74b8abc67abcbc9c02209db6f662 -
Trigger Event:
push
-
Statement type:
File details
Details for the file novisentinel-1.1.1-py3-none-any.whl.
File metadata
- Download URL: novisentinel-1.1.1-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0fae80f41bba5cd62d36f13e31de75d5dec2ae4a3a923b44fe68cc8b974759dd
|
|
| MD5 |
fae41fd677715ff476f2ace8fbeefa04
|
|
| BLAKE2b-256 |
7579e24bdfc6ef36cd5ee0e83a62597f84754db3c05d117b9116be5cd68d18f7
|
Provenance
The following attestation bundles were made for novisentinel-1.1.1-py3-none-any.whl:
Publisher:
release.yml on 009-KumarJi/novisentinel-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
novisentinel-1.1.1-py3-none-any.whl -
Subject digest:
0fae80f41bba5cd62d36f13e31de75d5dec2ae4a3a923b44fe68cc8b974759dd - Sigstore transparency entry: 1572291350
- Sigstore integration time:
-
Permalink:
009-KumarJi/novisentinel-core@d18de5a8d36d74b8abc67abcbc9c02209db6f662 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/009-KumarJi
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d18de5a8d36d74b8abc67abcbc9c02209db6f662 -
Trigger Event:
push
-
Statement type: