File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed
Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -42,33 +42,33 @@ Demo:
4242Quick install
4343
4444``` bash
45- python -m pip install pyredactkit
45+ python -m pip install --upgrade pyredactkit
4646```
4747
4848** For more elaborate usage, please [ refer to the docs] ( https://github.com/brootware/PyRedactKit/wiki/Usage ) .**
4949
5050Redact from terminal
5151
5252``` bash
53- pyredactkit ' this is my ip:127.0.0.1. my email is [email protected] . secret link is github.com' 53+ prk ' this is my ip:127.0.0.1. my email is [email protected] . secret link is github.com' 5454```
5555
56- Redact a single file
56+ Redact a single file.
5757
5858``` bash
59- pyredactkit -f test.txt
59+ prk test.txt
6060```
6161
62- Unredact the file
62+ Un-redact the file with redacted data
6363
6464``` bash
65- pyredactkit -f redacted_test.txt -u .hashshadow_test.txt.json
65+ prk redacted_test.txt -u .hashshadow_test.txt.json
6666```
6767
6868Redact using custom regex pattern
6969
7070``` bash
71- pyredactkit -f file -c custom.json
71+ prk file -c custom.json
7272```
7373
7474### Use from github source
Original file line number Diff line number Diff line change 33Utility to redact sensitive data
44"""
55
6- import argparse
7- from genericpath import isdir
8-
9- from numpy import full
10-
116from pyredactkit .core_redactor import CoreRedactorEngine
127from pyredactkit .custom_redactor import CustomRedactorEngine
138from pyredactkit .unredact import Unredactor
9+ import argparse
1410import os
1511import glob
1612import sys
You can’t perform that action at this time.
0 commit comments