Metadata-Version: 2.4
Name: redaction
Version: 0.1.6
Summary: Simple redaction script
Author-email: Tammy DiPrima <tdiprima@yahoo.com>
License-Expression: MIT
Keywords: pii,redaction,presidio,privacy,text
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: presidio-analyzer>=2.2.360
Requires-Dist: presidio-anonymizer>=2.2.360
Requires-Dist: rich-argparse>=1.7.1
Dynamic: license-file

# 🕵️ PII Redaction Tool

Wipes out personal info from text files using **[Microsoft Presidio](https://github.com/microsoft/presidio)**.

Built for devs who want something lightweight, fast, and Torch-free — a no-drama way to clean text.

## 🚀 Installation

```bash
pip install redaction
````

## 🧹 Usage

```bash
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.

## 💡 Example

**Input:**

```
My name is John Doe and my email is john@example.com.
```

**Output:**

```
My name is <PERSON> and my email is <EMAIL_ADDRESS>.
```

## 🧠 Tech Notes

* Built on top of Microsoft Presidio's Analyzer + Anonymizer.
* No GPU, no Torch — just clean text ops.
* Designed for quick local use or integration in your data pipeline.

**GitHub:** [https://github.com/tdiprima/redaction](https://github.com/tdiprima/redaction)

---

## ⚠️ Heads up:
No PII tool is perfect — always sanity-check the output before using it in production.
