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

Data Privacy Python Packages

Python packages with the GitHub topic data-privacy. 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
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
ethyca
ethyca-fides

The Privacy Engineering & Compliance Framework

28K 484 96
davidahma
setrya

Prove deleted customer data stays out of your AI, even when a background job writes it back.

13K 1 0
IBM
diffprivlib

Diffprivlib: The IBM Differential Privacy Library

11K 921 214
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
AI-SDC
acro

Tools for the Semi-Automatic Checking of Research Outputs. These are tools for researchers to use as drop-in replacements for common analysis commands.

8K 28 13
shanjeevrajendran
cloakroom

Masks API keys, secrets and personal data (PII) on your machine before your AI coding agent sees them. Works with Claude Code, Codex CLI, Gemini CLI and Cursor's command-line agent.

7K 14 1
wa-pis
agent-paranoid-android

Reproducible synthetic test data for CSV and database workflows.

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.

5K 12K 1K
IFCA-Advanced-Computing
pycanon

pyCANON is a Python library and CLI to assess the values of the parameters associated with the most common privacy-preserving techniques.

4K 54 12
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
ashutoshrana
enterprise-rag-patterns

Identity-scoped retrieval, audit logging, and framework adapters for enterprise RAG applications that handle regulated data.

2K 2 0
sasateguh
mypii

Malaysian PII recognizers (MyKad, SSM, phone) for Presidio, with a synthetic Malay, English and Manglish benchmark.

2K 0 0
Starksood
ember-custody

Cryptographic custody, redactable Merkle receipts, and verifiable cascade erasure for AI memory and RAG stores.

2K 1 0
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
ashutoshrana
ferpa-haystack

FERPA-compliant document filter for Haystack RAG pipelines — identity-scoped pre-filtering before LLM context

1K 0 0
DataFog
datafog-mcp

MCP server for local PII scanning and redaction. Check sensitive files and create redacted copies from Claude Code. Powered by DataFog Core.

1K 0 0
ma2za
pseudonymize

Typed, dependency-free Python toolkit for local-first PII pseudonymization, deterministic aliases, redaction, safe reports, and extensible detection backends.

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