Skip to content

gretelai/gdpr-helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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