Skip to content

odaxiom/gdpr-censor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GDPR Censor

Aims to anonymize string data for GDPR compliance.

Quickstart

import gdpr
print(gdpr.anonymize("""
Hi ! My name is John Doe and I want to say that I am very glad to be a customer of your store in Paris.
Patricia, my advisor helps me a lot to choose my products.
I give you my phone number to call me about my joy : 07 86 49 19 63.
"""))

The results should be :

Hi ! My name is FIRST_NAME LAST_NAME and I want to say that I am very glad to be a customer of your store in Paris.
FIRST_NAME, my advisor helps me a lot to choose my products.
I give you my phone number to call me about my joy : PHONE_NUMBER.

How to contribute ?

git clone git@github.com:odaxiom/gdpr-censor.git
cd gdpr-censor
pip3 install -e .
python3 -m unittest discover

About

A python package that aims to anonymize string

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published