Omna · Python

Pandas PII Masking in One Line of Python

Detect and redact names, emails, phone numbers, SSNs, MRNs, and free-text PHI across every text column of a Pandas DataFrame — locally, with a Rust kernel.

The API

import pandas as pd
import omna

df = pd.read_parquet("patient_notes.parquet")
masked = df.omna.mask_pii()

Why local matters

AWS Comprehend, Google DLP, and Azure PII all require shipping raw records to a third party. Omna runs inside your Python process — zero egress, no BAA.

Try it now

pip install omna