Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 780 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 780 Bytes

Quickstart

1. Set up your virtual environment

# checkout the repo
git clone https://github.com/gretelai/gdpr-helpers.git

# create venv
cd gdpr-helpers
python -m venv ./venv
source venv/bin/activate

# install gdpr-helpers package
pip install -U .

2. Add your Gretel API key via the Gretel CLI.

Use the Gretel client to store your API key to disk. This step is optional, the gdpr-helpers will prompt you for an API key if one cannot be found.

gretel configure

3. Anonymize a set of sample files

Use the example function to anonymize all datasets in a directory. Edit ./examples/anonymize_files.py to anonymize your own datasets versus the provided samples.

python -m examples.anonymize_files