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

Anonymization Python Packages

Python packages with the GitHub topic anonymization. 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
mysto
ff3

FPE - Format Preserving Encryption with FF3 in Python

280K 104 20
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
preply
dj-anonymizer

Anonymize django database. Big-data anonymizer. Preply team.

74K 47 5
google
dp-accounting

Google's differential privacy libraries.

54K 3K 437
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
privateai
privateai-client

A python client used to interact with the Private AI's API

16K 23 3
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
RegioHelden
django-scrubber

Data anonymizer for Django

7K 36 10
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
rwnx
pynonymizer

A universal tool for translating sensitive production database dumps into anonymized copies.

5K 117 40
austinmabry
openscrub

Local, GPU-accelerated redaction for video & screen recordings — blur, black-box, or mosaic faces and/or any regex-matchable text. Human review, no cloud.

5K 16 2
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
mehrabix
deutsches-ki-toolkit

Deutschsprachige KI-Infrastruktur für Dokumente, Datenschutz, Suche und RAG: deutsche PII-Erkennung mit Prüfsummen, Komposita-Zerlegung, strukturtreues Chunking, hybrides Retrieval und RAG mit geprüften Quellenangaben. Live-Demo im Browser.

5K 0 0
samuelmeuli
anonymizeip

👤 Python library for anonymizing IP addresses

4K 5 0
carecoders
dcmanon

Fast DICOM anonymization, written in Rust. Available as library and executable. With bindings for Python and WebAssembly.

4K 7 2
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
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
leo-gan
pdf-anonymizer-core

CLI, Web API, and an SDK anonymizing large PDF files, Excel, Word docs, CSVs

2K 2 1
leo-gan
pdf-anonymizer-cli

CLI, Web API, and an SDK anonymizing large PDF files, Excel, Word docs, CSVs

2K 2 1
radlab-dev-group
radlab-llm-router-plugins

A companion repository for llm-router containing a collection of pipeline-ready plugins. Features a masking interface for anonymizing sensitive data and a guardrail system for validating input/output safety against defined policy rules.

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