PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Pii Detection Python Packages

Python packages with the GitHub topic pii-detection. Sorted by monthly downloads, with stars and forks.
data-privacy-stack
presidio-analyzer

An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.

5.3M 11K 1K
data-privacy-stack
presidio-anonymizer

An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.

3.5M 11K 1K
data-privacy-stack
presidio-image-redactor

An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.

88K 11K 1K
data-privacy-stack
presidio-structured

An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.

87K 11K 1K
wan9yu
argus-redact

Encrypt PII, not meaning. Locally.

60K 12 1
datafog
datafog

Offline PII firewall for AI agents and LLM apps: fast local detection and redaction, Claude Code hook, LiteLLM guardrail. Zero network calls, one dependency.

47K 77 15
EdyVision
pii-codex

A research python package for detecting, categorizing, and assessing the severity of personal identifiable information (PII)

17K 102 12
brightertiger
pygarble

Local Python text screening: PII, secrets, profanity, gibberish and redaction. No LLM calls; zero-dependency base with optional local backends.

11K 9 2
awslabs
ferret-scan

Find and redact sensitive data before it leaks — a fast, offline CLI and Go library that detects PII, secrets, and credentials in files and streams, scores them with context-aware confidence, and redacts them format-preserving. Nothing leaves your host.

9K 98 8
arcjet
arcjet

Runtime security for AI apps and agents: prompt injection detection, tool-call authorization, sensitive-data redaction, bot protection, and rate limiting. Drop it into your Python code.

9K 32 2
privacyfence
privacyfence

Open-source privacy and approval gateway between AI assistants and your business systems (MCP): human approval, local PII checks and audit for Gmail, Drive, Slack, Salesforce, Jira and more.

7K 1 0
data-privacy-stack
presidio

An open-source framework for detecting, redacting, masking, and anonymizing sensitive data (PII) across text, images, and structured data. Supports NLP, pattern matching, and customizable pipelines.

7K 11K 1K
ferro-labs
ferrogw

Unified AI Gateway for 30+ LLMs (OpenAI, Anthropic, Bedrock, Azure etc) with Caching, Guardrails, A/B test & cost controls. Go-native Fastest & Scalable AI Gateway LiteLLM & Kong AI Gateway alternative.

6K 265 36
Athroniaeth
piighost

Reversible PII masking for LLM agents: piighost replaces personal data with placeholders before the model sees it, then restores the real values in replies and tool calls. LangChain, Pydantic AI, LlamaIndex and Claude Code integrations, plus an OpenAI/Anthropic-compatible proxy.

5K 14 1
mehrabix
deutsches-ki-toolkit

Deutschsprachige KI-Infrastruktur für Dokumente, Datenschutz, Suche und RAG: deutsche PII-Erkennung mit Prüfsummen, Komposita-Zerlegung, strukturtreues Chunking, hybrides Retrieval und RAG mit geprüften Quellenangaben. Live-Demo im Browser.

5K 0 0
crp4222
privaite

Self-hosted PII redaction proxy for LLM APIs and agent CLIs. Scrubs names, emails and secrets from Claude Code, Codex and any OpenAI-compatible app before requests leave your machine, tool-call arguments included, then restores them in the reply. Local detection, zero telemetry.

4K 50 2
arcjet
arcjet-sensitive-info-rampart

Runtime security for AI apps and agents: prompt injection detection, tool-call authorization, sensitive-data redaction, bot protection, and rate limiting. Drop it into your Python code.

4K 32 2
GetSHIM
shim

Local traffic visibility and privacy controls for coding agents. See what Claude Code, Codex and Copilot actually send to the model, and mask secrets and personal data before they leave your machine.

4K 7 0
macmaia
tarja

Detect and mask Brazilian personal identifiers (CPF, CNPJ, CNS, CNJ, título, CNH) in Portuguese text, with check-digit validation. For LGPD work, DLP pipelines, and stripping PII before text reaches an LLM or a RAG index. Apache 2.0, no dependencies.

3K 2 0
frod27
overwing

Overwing SDK for Python: guardrails for LLM output. Typed client + OpenAI Agents SDK guardrails that score every message before it ships.

3K 0 0
fcarvajalbrown
maskops

High-speed PII masking as a Polars plugin, powered by Rust

2K 21 0
declaw-ai
declaw

Python SDK for Declaw — security-first sandboxing for AI agents

2K 1 0
fusiontechstrategies
bedrock-guardrail-firewall

Stop unsafe AI traffic before it spreads with enterprise PII redaction, prompt-injection defense, grounding checks, tamper-evident auditing, and optional Amazon Bedrock plus Presidio controls in one Python file.

2K 2 0
emirhuseynrmx
proofframe

Ruff for data — Arrow-native data quality in Rust + Python: contracts, canonical fingerprints, keyed diffs, PII & leakage scans, and Ed25519 proof receipts

2K 1 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology