# Omna for Python — Semantic Search & PII Masking for Polars

> The Omna Python library: local-first, Rust-powered semantic search and PII masking for Polars and pandas DataFrames.

Canonical: https://omna.dev/library

## Install

```bash
pip install omna
```

## One-line semantic search

```python
import polars as pl, omna
df = pl.read_parquet("notes.parquet")
df.omna.search("denied claim, prior auth missing", top_k=5)
```

## One-line PII masking

```python
masked = df.omna.mask(columns=["note"])
```

## Why local-first

- Patient data and trade secrets never leave the host
- No API key, no rate limit, no per-call cost
- Runs anywhere Polars runs — laptops, CI, air-gapped boxes
