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
Metadata
Release files for secretstuff 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| secretstuff-1.0.1.tar.gz | 32.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| secretstuff-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 55.9 kB
Release files / secretstuff-1.0.1.tar.gz
| Download URL | secretstuff-1.0.1.tar.gz |
|---|---|
| Size | 32.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f2304a5ae3a1395ad6d2061c10d93e99c2083180e615487dea5c022ad234791
|
|
BLAKE2b-256 checksum How to use checksums |
b102145fd2a1d8b5b2746a4b66c29d999f5c5394f4822bb6c69086c7b7a2af2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.23
|
Release files / secretstuff-1.0.1-py3-none-any.whl
| Download URL | secretstuff-1.0.1-py3-none-any.whl |
|---|---|
| Size | 23.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
572ca03af8af9eabcae36bb2c890a0a98486aab7ad107307919c7b1964389c34
|
|
BLAKE2b-256 checksum How to use checksums |
0e83fc55081a3ca29c1b333a667a9b279ce8005c11689f005f1b5be516965a0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.23
|
Security for secretstuff 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.