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.

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

47K 77 15
ethyca
ethyca-fides

The Privacy Engineering & Compliance Framework

24K 483 95
IBM
diffprivlib

Diffprivlib: The IBM Differential Privacy Library

11K 920 209
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
ma2za
pseudonymize

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

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

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

Reproducible synthetic test data for CSV and database workflows.

4K 1 0
GetSHIM
shim

Local traffic visibility and privacy controls for coding agents. See what Claude Code, Codex and Copilot actually send to the model, and mask secrets and personal data before they leave your machine.

4K 7 0
macmaia
tarja

Detect and mask Brazilian personal identifiers (CPF, CNPJ, CNS, CNJ, título, CNH) in Portuguese text, with check-digit validation. For LGPD work, DLP pipelines, and stripping PII before text reaches an LLM or a RAG index. Apache 2.0, no dependencies.

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

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

3K 27 12
fcarvajalbrown
maskops

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

2K 21 0
ashutoshrana
enterprise-rag-patterns

FERPA/HIPAA/GDPR-compliant RAG patterns: identity-scoped retrieval, audit logging, and framework adapters for regulated enterprise AI

2K 1 0
maxttkam
ghostbytes

A desktop file encryption and data security utility. Features symmetrical / asymmetrical encryption, post-quantum cryptography, hash files, random generator, and file shredding.

2K 0 0
brootware
pyredactkit

Python CLI tool to redact and un-redact sensitive data from text files. 🔐📝

1K 52 7
ashutoshrana
ferpa-haystack

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

1K 0 0
AI-SDC
sacroml

Collection of tools and resources for managing the statistical disclosure control of trained machine learning models

989 42 8
ethyca
fidesctl

The Privacy Engineering & Compliance Framework

983 483 95
armos-ai
armos

Open source PII masking middleware for OpenAI and Anthropic SDKs

882 4 0
martaajonees
clip-protocol

This repository contains an adaption of differential privacy algorithms on learning analitics

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