An open API service indexing awesome lists of open source software.

https://github.com/gretelai/gdpr-helpers

Generative models to automatically anonymize data to meet GDPR & CCPA standards.
https://github.com/gretelai/gdpr-helpers

ai anonymization ccpa gdpr generative-models privacy synthetic-data

Last synced: 11 days ago
JSON representation

Generative models to automatically anonymize data to meet GDPR & CCPA standards.

Awesome Lists containing this project

README

        

# Quickstart

## 1. Set up your virtual environment

```shell
# 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](https://console.gretel.cloud) 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.

```bash
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.

```bash
python -m examples.anonymize_files
```