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.

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

20K 7 0
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
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
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
redact-secret
redact-secret-vault

Reversible redaction for AI workflows: replace secrets with opaque tokens, then restore them only to authorized destinations. JavaScript and Python.

2K 1 0
fcarvajalbrown
maskops

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

2K 21 0
antonsoo
veil-pii

Reversible PII masking for LLM calls: mask before the prompt leaves your network, restore in the reply, streaming-safe.

2K 0 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С с гейтом псевдонимизации: агент работает с живой базой, а ИНН, счета, телефоны и названия видит только токенами.

2K 0 0
cxumol
promptmask

Never give AI companies your secrets! A local LLM-based privacy filter for LLM users. Seamless integration with your existing AI tools as a Python library / OpenAI SDK replacement / API Gatetway / Web Server.

2K 155 17
traceredact
traceredact

Redact PII & secrets from LLM prompts, agent traces & tool-call args before they hit your logs. Content-based detection (not just key names), CI-gateable, zero data retained.

2K 1 0
cyrildever
redacted-py

Redacting classified documents

716 3 0
oguzhantopcu0
wardcat

On-prem detection & anonymization of PII and sensitive data for LLM inputs — hybrid regex + NER + local LLM

672 2 0
sealandseacat
dbmask

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

599 149 22
Hellotravisss
cloakpii

PII masking + AES-256-GCM encryption + PIPL/PDPA/GDPR compliance reporting for cross-border data transfers. Python CLI.

513 4 1
neguseatama
sieve-redact

Deterministic text masking tool — six modes, byte-for-byte integrity outside matches, receipts without sensitive content. Standard library only. Companion to Sieve Lens.

505 0 0
carnaval-ai
carnaval

Reversible PII anonymization for LLM pipelines: mask names, emails and bank details before text reaches a cloud LLM, then restore them in the response. Local-first, encrypted vault, 6 languages. Python, Apache-2.0.

359 1 0
zahidhasann88
masker-db

A Python CLI for deterministic, schema-aware database masking across SQLite, PostgreSQL, and MySQL

293 0 0
jekhator
mixin-suite

Composable mixins for Python services: correlation-aware structured logging, sensitive-data classification and masking, parameterized retry policies, latency measurement, and notification dispatch

280 0 0
latryee
cloakdb

Deterministic database & SQL dump anonymization engine with NIST Format-Preserving Encryption (FPE), Differential Privacy, and O(1) memory streaming.

250 1 0
cyphera-labs
cyphera

Data protection SDK for Python — format-preserving encryption (FF1/FF3), data masking, and hashing.

236 3 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology