8000 GitHub - chattermill/cm-redactor-cli-python
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chattermill/cm-redactor-cli-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chattermill Standalone Data Redaction Tool

How it works:

The script runs a series of Regular Expressions to remove certain patterns from text. You can customise the list of Regular Expressions to run. You can also use as Python module for more custom workflows.

Install:

  • Install requirements using pip install -r requirements.txt
  • Clone git repo in the right folder: git clone https://github.com/chattermill/cm-redactor-cli-python.git

Run:

To run in the command line:

python redact.py "My email is contact@chattermill.io"
=> My email is [redacted]

To use as a module:

from redact import Redactor
...
redactor = Redactor()
redacted = redactor.apply_rules('My email is contact@chattermill.io')

Credits

Forked from Chattermill

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0