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

Data Masking Python Packages

Python packages with the GitHub topic data-masking. 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
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
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
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
neguseatama
sieve-redact

Deterministic text and image masking — byte/byte-pixel integrity outside matched regions

4K 0 0
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
fcarvajalbrown
maskops

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

3K 23 0
redact-secret
redact-secret

Detect and redact secrets before they reach logs, storage, or LLM context. Deterministic Rust core for JavaScript, Python, Rust, and WebAssembly.

3K 7 1
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
fikrifirat
katip-mask

Katip: on-device KVKK masking for Turkish legal documents. Browser app, Claude plugin, Turkish NER models and the KVKK-Bench benchmark.

1K 3 0
sangop-dev
sangop

Local guard for AI agent tools: masks Indian personal data and secrets, blocks unsafe SQL, keeps a verifiable audit log

1K 1 0
Pratix005
aadhaarguard

Find and redact Indian personal data (Aadhaar, PAN, GSTIN, UPI, phone, vehicle numbers; 15 kinds) with checksum validation. Pure Python, no dependencies.

1K 0 0
ocultar-dev
ocultar-claude-mcp

Sovereign PII/PHI privacy proxy — mask sensitive data locally before it reaches any cloud LLM

918 4 0
RitualDev-Lab
dbshield-defense

Database Guardrail, SQL AST Firewall & Sandboxing Wire Proxy for AI Coding Agents in Python

897 1 0
Romandredan
odata1c-gate

Local MCP gateway to 1C:Enterprise OData with a pseudonymisation gate: AI agents query a live 1C base, but tax IDs, accounts, phones and names reach the model only as tokens. · MCP-шлюз к OData 1С с гейтом псевдонимизации: агент работает с живой базой, а ИНН, счета, телефоны и названия видит только токенами.

806 10 0
Clufy
spanguard

Python library to detect and redact PII/PHI in text and streaming transcripts: emails, phones, SSNs, credit cards, API keys and more. Mask, hash or reversibly tokenize, with a CLI and audit records that never hold raw values.

793 1 0
antonsoo
veil-pii

Reversible PII masking for LLM calls: mask before the prompt leaves your network, restore in the answer, streaming included.

774 0 0
sealandseacat
dbmask

Discover, mask, and verify sensitive data in SQL databases — an auditable scan → mask → validate workflow for safe database copies.

757 152 23
lemonadesaltbagel
veil-proxy

Privacy middleware for AI coding agents: the model sees consistent pseudonyms, your machine keeps the real values

732 332 54
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology