presidio
Presidio is an open-source data protection and de-identification SDK used to detect, redact, mask, and anonymize sensitive information (PII) in text, images, and structured data. It provides fast recognition and anonymization modules and supports private entities such as credit card numbers, names, locations, social security numbers, Bitcoin wallets, US phone numbers, and financial data. It adopts a context-aware, pluggable, and customizable pipeline design, supports NLP, regular expressions, rule-based logic, and checksums, can connect to external PII detection models, and offers multiple usage modes from Python and PySpark to Docker and Kubernetes.