Omna · Python

Redact Patient Data in Python

A one-line API for de-identifying patient records — names, MRNs, DOBs, addresses, free-text PHI — without leaving your Python process.

The API

import polars as pl
import omna

notes = pl.read_parquet("encounters.parquet")
deid = notes.omna.mask_pii(entities=["NAME", "MRN", "DOB", "ADDRESS"])

Why local matters

Hosted PHI redaction tools require a BAA. Omna runs in your process — no BAA needed because nothing leaves the host.

Try it now

pip install omna