PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Data Privacy Python Packages

Python packages with the GitHub topic data-privacy. Sorted by relevance, with stars and monthly downloads.
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.8M 10K 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.

4.2M 10K 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.

41K 66 14
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.

30K 10K 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.

28K 10K 1K
ethyca
ethyca-fides

The Privacy Engineering & Compliance Framework

23K 466 93
fcarvajalbrown
maskops

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

22K 18 0
IBM
diffprivlib

Diffprivlib: The IBM Differential Privacy Library

14K 915 208
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.

8K 10K 1K
Hellotravisss
cloakpii

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

5K 4 1
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 53 8
armos-ai
armos

Open source PII masking middleware for OpenAI and Anthropic SDKs

4K 4 0
release-art
pydantic-prism

Tag pydantic fields once; derive API/storage/audit/LLM faces with PII classification and a ref graph that survives projection.

4K 0 0
martaajonees
clip-protocol

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

3K 0 1
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 23 12
nasser-gh
tabayyan

Saudi-aware PII detection & redaction for LLM pipelines. Checksum-validates National ID, Iqama, IBAN, CR, VAT, +966 numbers, passport & more; evasion-resistant; redacts before OpenAI/Anthropic with PDPL/NDMO audit. Local-first, zero telemetry.

2K 1 0
thirtysix
preserve-pii

Privacy-preserving PII detection & scrubbing for LLM prompts — local-first, reversible, 15+ countries. Python library, CLI, OpenAI-compatible API gateway, and a 100% in-browser demo.

2K 0 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
nightfallai
nightfall

Python Data Loss Prevention (DLP) SDK - Nightfall Developer Platform

2K 25 13
Aajil-Labs
apii

Keep Arabic & Gulf personal data off the LLM — local-first, reversible PII tokenization (CLI, proxy, and a Claude Code hook).

2K 8 3
WalkingMountain
tabulus

Postgres MCP server that redacts PII & secrets before your AI agent sees them. Read-only, agent-first.

1K 0 0
FCA-Advanced-Computing
trasgodp

Local differential privacy mechanisms

1K 2 0
AI-SDC
aisdc

Tools for the statistical disclosure control of machine learning models

864 39 8
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.

842 1 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery