Detects personally identifiable information (PII) in text, using Microsoft Presidio.
Project description
guardrails-ai-detect-pii
Detects personally identifiable information (PII) in text, using Microsoft Presidio.
Installation
pip install guardrails-ai-detect-pii
This validator ships local models. After installing, run the post-install step to download them:
python -m guardrails_ai.detect_pii.post_install
Usage
from guardrails import Guard
from guardrails_ai.detect_pii import DetectPII
guard = Guard().use(DetectPII)
License
MIT — © Guardrails AI.
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 guardrails_ai_detect_pii-0.0.6.tar.gz.
File metadata
- Download URL: guardrails_ai_detect_pii-0.0.6.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d552bd80064d7241555c75446bd2f87f8c6ebe0f4222d60ca7cdbde903c0a02d
|
|
| MD5 |
423a711ab79961084068471a2688d009
|
|
| BLAKE2b-256 |
12d2cb145115e32d29251e56e58c8e2881239a82fe71ff7c615237af989772f8
|
File details
Details for the file guardrails_ai_detect_pii-0.0.6-py3-none-any.whl.
File metadata
- Download URL: guardrails_ai_detect_pii-0.0.6-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c74ffc82ecdb039386e64b0044323d4d3175a01a0d377e57c2414cfc1cd4879
|
|
| MD5 |
805709d70b69bc1fa446cb8341fb660f
|
|
| BLAKE2b-256 |
069ce36e80d11ee6f1ee30f9de78b8a575bcd634970cf983573fb7dd0b821bae
|