🫧 scrub 🫧
scrub is a lightweight, extensible Python package designed to remove Personally Identifiable Information (PII) from any text input. It leverages advanced Machine Learning algorithms to detect PII and provides multiple levels of scrubbing to ensure optimal anonymization of sensitive information. safeguarding user privacy.
Installation
Install the latest version of scrub from PyPI:
pip install scrubadubdub
Key Features
- Advanced PII detection using Machine Learning algorithms.
- Support for a wide range of PII types (names, email addresses, phone numbers, etc.).
- Customizable detection threshold and levels of sanitization.
- Extensible architecture to allow for the addition of new PII types and algorithms.
Basic Usage
from scrubadubdub import Scrub
scrubber = Scrub()
input_text = "My name is John Doe and my email address is john.doe@email.com, and my phone number is 123-456-7890"
scrubbed_text = scrubber.scrub(input_text)
print(scrubbed_text)
My name is [REDACTED-NAME] and my email address is [REDACTED-EMAIL], and my phone number is [REDACTED-PHONE]
License
scrub is licensed under the MIT License. See LICENSE for more details.
Metadata
Release files for scrubadubdub 0.2.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 | Actions |
|---|---|---|---|---|
| scrubadubdub-0.2.1.tar.gz | 4.4 kB | Without provenance | Details for scrubadubdub-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scrubadubdub-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for scrubadubdub-0.2.1-py3-none-any.whl |
Total release size: 9.8 kB
Release files / scrubadubdub-0.2.1.tar.gz
| Download URL | scrubadubdub-0.2.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78cb617bae1fcc56c4fb15576544cb839b810accd2b4c5577baa0339c06401d7
|
|
BLAKE2b-256 checksum How to use checksums |
b4ff0bb6932964ed1d9fa3f62412f7c5594329b4683afbb19757752c4819ddf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.6 Linux/5.15.0-1035-azure
|
Release files / scrubadubdub-0.2.1-py3-none-any.whl
| Download URL | scrubadubdub-0.2.1-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc681da8376cdfb4692a81d76a0df4840b0909fc71876702843f73e1f6dc73f6
|
|
BLAKE2b-256 checksum How to use checksums |
746d85811b8e64c93a700598ecd4882c43351209bb329b4143a010e6a1c9827b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.6 Linux/5.15.0-1035-azure
|
Security for scrubadubdub 0.2.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.