Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

guardrails_ai_detect_pii-0.0.6.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

guardrails_ai_detect_pii-0.0.6-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

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

Hashes for guardrails_ai_detect_pii-0.0.6.tar.gz
Algorithm Hash digest
SHA256 d552bd80064d7241555c75446bd2f87f8c6ebe0f4222d60ca7cdbde903c0a02d
MD5 423a711ab79961084068471a2688d009
BLAKE2b-256 12d2cb145115e32d29251e56e58c8e2881239a82fe71ff7c615237af989772f8

See more details on using hashes here.

File details

Details for the file guardrails_ai_detect_pii-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_detect_pii-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9c74ffc82ecdb039386e64b0044323d4d3175a01a0d377e57c2414cfc1cd4879
MD5 805709d70b69bc1fa446cb8341fb660f
BLAKE2b-256 069ce36e80d11ee6f1ee30f9de78b8a575bcd634970cf983573fb7dd0b821bae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page