Skip to content
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.

6.6M 12K 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.7M 12K 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.

90K 12K 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.

80K 12K 1K
wan9yu
argus-redact

Encrypt PII, not meaning. Locally.

49K 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.

33K 80 15
brightertiger
pygarble

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

25K 10 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.

19K 105 14
boromat
polanon

Reversible PII masking for LLM calls and RAG, Polish-first: checksum-validated PESEL, NIP and IBAN, Polish names in every case, stable tokens, streaming restore and Haystack components.

9K 43 10
newmean-ai
newmean-pii

Mask PII before it reaches OpenAI, Anthropic or any LLM: small multilingual models (54 languages, 2.6 to 15.5 MB) that run in the browser, on iOS and Android, or on a server. JavaScript, Python, Swift, Kotlin, Flutter, Rust.

9K 204 20
EdyVision
pii-codex

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

8K 102 12
plenoai
pleno-dlp

Always Verify. Unified DLP scanner. Fast and Less False Positive.

6K 1 2
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.

5K 12K 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.

5K 302 39
jungroo-ai
redefiner

Open-source 0.8B model that extracts entities from text by following your written guidelines (a plain-English rulebook). Runs on your own servers, CPU only. Apache 2.0.

5K 10 0
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.

4K 2 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.

3K 72 4
fcarvajalbrown
maskops

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

3K 23 0
presidio-v
presidio-hardened-x402

Security middleware for x402 agentic payments — PII redaction, spending policy, and replay detection before blockchain commit

3K 17 0
guardtrellis
guardtrellis

A lightweight Python SDK for local checks around LLM inputs, outputs, retrieval, and tool calls.

3K 1 0
Acacian
agent-aegis

LLM guardrails & prompt injection detection for Python. Auto-instruments LangChain, CrewAI, OpenAI, LiteLLM + 8 more frameworks. PII masking, toxicity detection, policy CI/CD. One line, zero code changes.

3K 18 5
IBM
readi-privacy

READI

3K 11 2
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.

3K 34 2
InditexTech
cerbia-core

A modular threat detection library for AI and LLM pipelines. It provides language-agnostic guardrails through a configurable pipeline of loaders, multi-layer de-obfuscation, specialized scanners, and automatic enforcement.

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