Simple redaction script
Project description
🕵️ 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
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
-oflag to specify your own output file.
⚙️ Installation
With uv:
uv sync
Or the classic pip way:
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 🧠.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file redaction-0.1.1.tar.gz.
File metadata
- Download URL: redaction-0.1.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd575bf4f88e84ab2ab13d8d48d038f170b33d3831b9e6c567eb469a8fa2d77a
|
|
| MD5 |
67e31b0f6c415fbf690bf9a05356086b
|
|
| BLAKE2b-256 |
9b9e1983925913d899153c4ffdb6fc56b0ef71dbdf2ff51b1b98ed211d36c945
|
File details
Details for the file redaction-0.1.1-py3-none-any.whl.
File metadata
- Download URL: redaction-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a359c4ce8b2fe6638e2e777e7f41d08d920b7d1ac5055d0ba845d806219ec62e
|
|
| MD5 |
9bd9eb871e6fd00bcdb3d61168acebe5
|
|
| BLAKE2b-256 |
cf04b1ab59b08b49cf1d63d5db108d0c3218eff7db4639e826e11b909f5164dc
|