Thin client for anonymAI — DSGVO-safe PII anonymization before sending text to LLMs.
Project description
anonymAI — client
DSGVO-konforme Anonymisierung, bevor Text an ein externes LLM geht — und die echten Werte danach lokal wieder eingesetzt. So nutzt ihr ChatGPT & Co., ohne dass personenbezogene Daten die EU verlassen.
pip install anonymai
Kostenlosen Trial-Key (10 Anfragen) anfordern: https://www.anonymai.de/docs
from anonymai import Guard
g = Guard(trial_key="DEIN_TRIAL_KEY") # oder ANONYMAI_TRIAL_KEY setzen
clean, mapping = g.scrub("Bitte an Anna Müller, IBAN DE89370400440532013000.")
# clean == "Bitte an ⟦PII_PERSON_01⟧, IBAN ⟦PII_IBAN_01⟧."
answer = call_your_llm(clean) # das LLM sieht nur Platzhalter
final = g.restore(answer, mapping) # echte Werte lokal wieder einsetzen
scrubläuft im Trial über die anonymAI-EU-API. Das Mapping (Platzhalter → Originalwert) bleibt bei euch;restoreist eine reine lokale Ersetzung.- Der gekaufte On-Prem-Client bietet dieselbe
Guard-API, läuft aber vollständig lokal — dann verlässt gar nichts euer Netz. Nurtrial_keygegenlicensetauschen. - Dieses Paket enthält keine Erkennungs-Engine — es spricht nur mit der API.
© Allweknow OÜ · https://www.anonymai.de
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 anonymai-0.1.0.tar.gz.
File metadata
- Download URL: anonymai-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ceb43200302455546f6cbfda688fc4eb27dad0af10d3837c8fe8a38da2c8a8b
|
|
| MD5 |
0dcac1ba5fd87e6b0104fd7aedfa6c0b
|
|
| BLAKE2b-256 |
9d262ae20dec20e0b8157db3b7ba3fd68689f5bb2236f2cf62dac9f2cbf43b0b
|
File details
Details for the file anonymai-0.1.0-py3-none-any.whl.
File metadata
- Download URL: anonymai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c14e5d948786539d9a73ef2e7438d972d2839ad397ef3314ad02bbe463030e31
|
|
| MD5 |
012eb5db2baebc1d67268afbd4ba6c2d
|
|
| BLAKE2b-256 |
1e4c62cd6aba0617ef5c18c73a2adae07f43261d9cd73248460cbc8957c417cf
|