Skip to main content Switch to mobile version decima-pii 2.4.0 Find and redact personal data in Arabic, Persian, Urdu, Turkish and English on CPU. Alias for decima-ai (decima.pii).
pip install decima-pii==2.4.0 Copy PIP instructions
Find and redact personal data (names, phones, emails, national IDs, IBANs, cards, passports, addresses, dates of birth, IP addresses) in Arabic, Persian, Urdu, Turkish and English, including numbers in Persian and Arabic-Indic digits. CPU, int8 ONNX, no PyTorch.
This package is a small alias. The code lives in decima-ai (decima.pii), and installing decima-pii installs it, plus a decima-pii command. You can use either:
pip install decima-pii # or: pip install decima-ai from decima import PII # or: from decima_pii import PII pii = PII.from_pretrained() # amyrmahdy/decima-pii, 148 MB, downloaded once pii.redact("اسمي محمود الشمري ورقم جوالي ٠٥٥١٢٣٤٥٦٧") # 'اسمي [PERSON_NAME] ورقم جوالي [PHONE]' pii.find("...") # [{"start", "end", "label", "text"}, ...] decima-pii "سلام، من سارا احمدی هستم. کد ملی من ۰۰۱۲۳۴۵۶۷۸ است." # same as: decima pii "..." cat letter.txt | decima-pii --redact-only Model, results and limits: https://huggingface.co/amyrmahdy/decima-pii (a preview; please read the limits)
Try it in the browser: https://amyrmahdy-decima-playground.static.hf.space/pii.html
Code, LiteLLM guardrail and Presidio recognizer: https://github.com/amyrmahdy/decima
Apache-2.0 View SPDX License List
arabic onnx persian pii pii-detection privacy redaction turkish urdu
Release files for decima-pii 2.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 4.1 kB
Release files / decima_pii-2.4.0.tar.gz
Release files / decima_pii-2.4.0-py3-none-any.whl
Security for decima-pii 2.4.0
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.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 1, 2026 2 release files No provenance
Oct 29, 2026 2 release files No provenance
Oct 26, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




