A comprehensive PII redaction and reverse mapping library
Project description
SecretStuff
A production-ready Python library for identifying, redacting, and reversing personally identifiable information (PII) in text using advanced NLP models.
Key Features
- PII Identification: Detect 150+ types of PII using GLiNER models
- Flexible Redaction: Replace PII with configurable dummy values
- Reverse Mapping: Restore original PII from redacted text
- Production Ready: Type hints, comprehensive tests, robust error handling
Quick Example
from secretstuff import SecretStuffPipeline
pipeline = SecretStuffPipeline()
redacted_text, entities, mapping = pipeline.identify_and_redact(
"John Doe's email is john@example.com and phone is +1-555-123-4567"
)
Documentation
For complete documentation, examples, and API reference, visit: https://github.com/adw777/secretStuff/blob/main/README.md
Project details
Release history Release notifications | RSS feed
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 secretstuff-1.0.1.tar.gz.
File metadata
- Download URL: secretstuff-1.0.1.tar.gz
- Upload date:
- Size: 32.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f2304a5ae3a1395ad6d2061c10d93e99c2083180e615487dea5c022ad234791
|
|
| MD5 |
62b65dbabea65061b147f1d09eab407e
|
|
| BLAKE2b-256 |
b102145fd2a1d8b5b2746a4b66c29d999f5c5394f4822bb6c69086c7b7a2af2f
|
File details
Details for the file secretstuff-1.0.1-py3-none-any.whl.
File metadata
- Download URL: secretstuff-1.0.1-py3-none-any.whl
- Upload date:
- Size: 23.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
572ca03af8af9eabcae36bb2c890a0a98486aab7ad107307919c7b1964389c34
|
|
| MD5 |
e3de3230dcd2cb8348a4e94bce2fc263
|
|
| BLAKE2b-256 |
0e83fc55081a3ca29c1b333a667a9b279ce8005c11689f005f1b5be516965a0b
|