Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.1.1 instead.
Reason given by maintainers: No NER on x86-64 CPUs without VNNI (U8S8 saturation, silent regex fallback). Use 0.1.1.

saklam

Erkennt und maskiert personenbezogene Daten in deutschem Text (plus EN, FR, ES, IT, NL, PL) — lokal, im eigenen Prozess. Dieselbe Engine, die die Saklam-App und die Saklam-Bridge (Docker) fahren, mit demselben Platzhalter-Format und demselben Lizenzschlüssel.

Installation

pip install saklam

Das mitgelieferte NER-Modell (saklam-model-de-small) kommt mit — danach läuft alles ohne weiteren Download. Python 3.10–3.12.

Kein torch, kein CUDA. Das Modell rechnet direkt in ONNX Runtime; die Installation ist rund 300 MB (frische Umgebung, inklusive Modell: macOS 295 MB, linux/amd64 321 MB, linux/arm64 310 MB). Pflicht-Abhängigkeiten: onnxruntime, tokenizers, numpy, pydantic, pyyaml, cryptography.

Verifiziert auf macOS-arm64, linux/amd64 und linux/arm64 (Docker python:3.11-slim, beide Architekturen). Steht kein Modell zur Verfügung, arbeitet saklam ausdrücklich im Regex-Modus (engine_id == "regex", Grund in license_status().note) — still gekürzt wird nie.

In drei Zeilen

from saklam import Saklam

pii = Saklam(license_key="sk-lic-…")                     # oder SAKLAM_LICENSE_KEY
r = pii.mask("Philip Müller aus Zürich, philip@example.org")
r.masked        # '[PER_1864ad4c] aus [LOC_2350dca1], [EMA_c85d5952]'
pii.unmask(r.masked, r.mapping)   # Original zurück

Dazu: pii.detect(text) für die Spans, pii.license_status() für den Zustand und die Kommandozeile saklam mask | detect | license | models.

Zero-Knowledge

Text und Erkennungsergebnisse verlassen den Host nie. Über das Netz geht ausschliesslich der Lizenzschlüssel gegen den Token-Endpunkt; die Prüfung des kurzlebigen, Ed25519-signierten Tokens läuft danach bei jedem Aufruf offline gegen den im Paket eingebetteten Public Key. Kein Phone-Home pro Aufruf, keine Telemetrie, keine Logs mit Rohtext.

Lizenz

Proprietär. Nutzung nur mit gültigem Saklam-Lizenzschlüssel: 99 EUR/Monat, ein Key für alle Formfaktoren — pip-Paket, Docker-Bridge und App. Ohne gültiges Token lehnen detect() und mask() ab.

Schlüssel und Details: https://saklam.com · Doku: https://saklam.com/en/docs · Handbuch (Modell-Leiter, Regex-Modus, Grenzen, Air-Gap): docs/HANDBUCH.md im sdist.


English: Local PII detection and masking for German-language text, same engine as the Saklam app and the Saklam Bridge. Text never leaves the host — only the license key is exchanged for a short-lived token, verified offline on every call. Commercial license, 99 EUR/month, one key for every form factor. Docs: https://saklam.com/en/docs.

Release files for saklam 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for saklam 0.1.0
File Size Uploaded
saklam-0.1.0.tar.gz 451.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for saklam 0.1.0
File Interpreter ABI Platform
saklam-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 925.7 kB

Release files / saklam-0.1.0.tar.gz

Download URL saklam-0.1.0.tar.gz
Size 451.8 kB
Tags Source
SHA-256 checksum
How to use checksums
400479ffbda0f447e4089c15a234ef98f4047fa3c00210f5d3d00d7e47dc1569
BLAKE2b-256 checksum
How to use checksums
301cd66ba27b962171855dcb25fd9200e30269642b5d96b1f484546d27610037
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.14

Release files / saklam-0.1.0-py3-none-any.whl

Download URL saklam-0.1.0-py3-none-any.whl
Size 473.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83056763f2a98cc622aae242a98995dfd3a42eecd26b7c9a39fd3d9e7e24d229
BLAKE2b-256 checksum
How to use checksums
9f814d8a9e9ad7fa37c788edf21512bc9e6073ed0053701ab2dfc81d3694abfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.14

Release history Release notifications | RSS feed

0.1.1

2 release files

This release

0.1.0 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page