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.
- Host: GitHub
- URL: https://github.com/gretelai/gdpr-helpers
- Owner: gretelai
- License: other
- Created: 2022-11-08T03:49:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-24T21:49:55.000Z (about 2 years ago)
- Last Synced: 2025-03-20T15:03:01.005Z (26 days ago)
- Topics: ai, anonymization, ccpa, gdpr, generative-models, privacy, synthetic-data
- Language: Python
- Homepage: https://gretel.ai/blog/anonymize-tabular-data-to-meet-gdpr-privacy-requirements
- Size: 1.21 MB
- Stars: 31
- Watchers: 23
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-privacy-engineering - GDPR Helpers - Generative models to automatically anonymize data to meet GDPR & CCPA standards. (Awesome Privacy Engineering [](https://awesome.re) / Synthetic Data)
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
```