Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Pii Redaction Python Packages

Python packages with the GitHub topic pii-redaction. Sorted by monthly downloads, with stars and forks.
vstorm-co
pydantic-ai-shields

Guardrail capabilities for Pydantic AI — cost tracking, prompt injection detection, PII filtering, secret redaction, tool permissions, and async guardrails. Built on pydantic-ai's native capabilities API.

244K 94 11
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
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
rmpmrepo1278
swapback

Local proxy that keeps personal data out of LLM prompts: swaps names, emails, phones and keys for placeholders, restores them byte-exact in replies, streams and tool calls. Fails closed.

8K 4 0
armurox
loggingredactor

Logging Redactor is a Python library designed to redact sensitive data in logs based on regex patterns and / or dictionary keys.

8K 7 0
melroyanthony
ferroguard

Responsible AI toolkit for LLM applications: PII/PHI redaction, prompt injection detection, bias scoring, content safety filters, and output validation. Framework-agnostic Python library with FastAPI demo.

8K 1 0
admina-org
admina-core

The open framework for governed AI development: EU AI Act compliance, PII redaction, MCP proxy, prompt-injection firewall. Python + Rust, Apache 2.0

6K 8 4
Latet-AI
latet

A local privacy firewall for AI agents: swaps secrets and personal data for fakes of the same shape before a request leaves your machine, and puts the real values back in the answer. Claude Code, Codex, Gemini CLI, OpenCode and any OpenAI-compatible agent.

5K 15 1
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
sarthexe
code-airlock

Zero-trust privacy layer, streaming PII redaction gateway & FastMCP server for AI coding agents

4K 2 0
moxno
privacyscrubber-mcp

Zero-Trust PII & secrets redaction MCP server for Cursor & Claude. Lightweight, zero-dependency Presidio alternative for Node.js / TypeScript.

4K 3 0
foro-sh
pii-mcp

Redact PII from MCP tool results before they reach the LLM. One-line FastMCP middleware, Python + TypeScript, Rust core.

4K 10 8
ninadphalak
llm-shield-proxy

Streaming privacy for LLM apps: pii-leak-benchmark (does your gateway leak PII in streams?), chunk-invariance (one-line test for split-boundary leaks), mcp-ssrf-check, and a self-hosted redacting gateway.

4K 20 5
flare-collection
flare-redact

Keep secrets and PII out of logs, Sentry, LLM prompts and commits. Reads values, not field names. Zero dependencies.

3K 56 2
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
SaiTeja-Erukude
promptsanitizer

Secrets firewall for AI pipelines — redact credentials and PII before they reach (or leave) LLMs.

2K 15 0
rinshadkk
selfbrowse

Open-source Python browser agent for LLMs. Gives the model a short numbered list of page elements instead of the DOM or screenshots, so runs use far fewer tokens. Built-in PII redaction, guardrails, tracing, and learned-click replay. Works with Claude, OpenAI, Gemini, Groq, Ollama, OpenRouter. Playwright-based. pip install selfbrowse

2K 5 0
pypa
admina

A sample project that exists for PyPUG's "Tutorial on Packaging and Distributing Projects"

2K 5K 2K
admina-org
admina-framework

The open framework for governed AI development: EU AI Act compliance, PII redaction, MCP proxy, prompt-injection firewall. Python + Rust, Apache 2.0

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

2K 23 1
obsei
obsei

Open source, privacy-first Voice of Customer analytics. A self-hosted alternative to Enterpret and Unwrap that strips PII from feedback before any LLM sees it.

2K 1K 182
akios-ai
akios

AKIOS runtime for secure AI agent execution

2K 2 0
manojmallick
gavio

The open standard AI gateway — PII protection, audit, reliability & cost control as composable interceptors. Same API in Python, Java & JavaScript.

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