Metadata-Version: 2.4
Name: redaction
Version: 0.1.1
Summary: Simple redaction script
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: presidio-analyzer>=2.2.360
Requires-Dist: presidio-anonymizer>=2.2.360
Requires-Dist: rich-argparse>=1.7.1

# 🕵️ PII Redaction Tool

A no-nonsense (but kinda cool) script that wipes out personal info from text files using **Microsoft Presidio**.

Does not require Torch.

Tried **scrubadub** and **pii-codex**, but they didn't quite pass the vibe check — so this one gets the job done.

## 🚀 Usage

```bash
pip install redaction

redact file.txt
redact file.txt -o output.txt
redact --help
```

* By default, the redacted version lands in the same directory as your input file.
* Use the `-o` flag to specify your own output file.

## ⚙️ Installation

With [uv](https://docs.astral.sh/uv/):

```bash
uv sync
```

Or the classic pip way:

```bash
pip install -e .
```

Then you're ready to redact like a pro.
All detected PII gets anonymized and saved into a clean, single output file — powered by **Microsoft Presidio** 🧠.

<br>
