在与scrubadub共享或索引文本之前,请先删除文本中的PII信息
Use scrubadub when an agent needs to strip emails, phone numbers, names, and similar sensitive text before sending content to external systems or search indexes.
Prerequisites
Python and scrubadub, plus any text source the agent needs to sanitize.
Installation
Use the upstream install or setup path that matches your environment:
- pip install scrubadub
Requirements and caveats from upstream:
- .. image:: https://img.shields.io/github/workflow/status/LeapBeyond/scrubadub/Python%20package/master
- incorporating it into your python scripts like this:
- This package requires at least python 3.6.
Basic usage or getting-started notes:
- .. code:: pycon
-
>> import scrubadub
-
Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/LeapBeyond/scrubadub/HEAD/README.rst
Documentation
- https://scrubadub.readthedocs.io/en/stable/