Simple redaction script
Project description
🕵️ PII Redaction Tool
Wipes out personal info from text files using Microsoft Presidio.
Built for devs who want something lightweight, fast, and Torch-free — a no-drama way to clean text.
🚀 Installation
pip install redaction
🧹 Usage
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.
💡 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 Presidios Analyzer + Anonymizer.
- No GPU, no Torch — just clean text ops.
- Designed for quick local use or integration in your data pipeline.
⚙️ License
MIT © 2025
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
redaction-0.1.3.tar.gz
(3.3 kB
view details)
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.3.tar.gz.
File metadata
- Download URL: redaction-0.1.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ce080792e967baecde4831912ba7f4de532c04434646d3cc48d38447736649f
|
|
| MD5 |
f6e55fe9bdeaf8f2ad78afe0622b4cbd
|
|
| BLAKE2b-256 |
a26cd81c52ce086a00af4a7fd493aa5017c2a2d2b40ca5e2d80125001ae7d2f5
|
File details
Details for the file redaction-0.1.3-py3-none-any.whl.
File metadata
- Download URL: redaction-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.8 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 |
131dd9ce158632ef9527a4469e4b488e1d9335452de80493bd541ed9e4e1437e
|
|
| MD5 |
f057092c5bb9a100c4d89acefc7776dd
|
|
| BLAKE2b-256 |
5e0e017922d2f1678604a9a8a57207e2f73019b041a6bf7300611cc23180a683
|