Omna · Python
Mask PII Before You Send to Claude
Anthropic's Claude is a powerful summariser — and it will faithfully echo whatever PII you put in the prompt. Mask locally first.
The API
import polars as pl, omna
from anthropic import Anthropic
safe = pl.read_parquet("notes.parquet").omna.mask_pii()
client = Anthropic()
for row in safe.iter_rows(named=True):
client.messages.create(model="claude-sonnet-4-5", max_tokens=512,
messages=[{"role": "user", "content": row["note"]}])Try it now
pip install omna