Skip to main content

Tools for generating General Data Anonymity Scores (

Project description


This repo holds a variety of tools in support of the GDA Score Project (General Data Anonymity Score Project).

The code here is still very much alpha, and little effort has gone into making it easy for others to install and use.

The primary language is Python, and requires Python3.7 or later. API documentation for some of the tools can be found at

To run

There are 2 possible ways of using this program:

  1. Installing via pip:

    • step 1: $ pip install gda-score-code

    • step 2: if you would like to stick to default configuration then skip this step. otherwise try executing $ gdascore_init in your console to modify the configuration.

    • step 3: use following import statements in your code:

      from gdascore.gdaScore import gdaAttack, gdaScores  
      from gdascore.gdaUtilities import *
      from gdascore.gdaQuery import *
  2. Cloning the repository:

    This repo has executable .py files in a variety of locations, most notably ./attacks and ./utility.

    There are libraries and configuration files located under ./common.

    To run these executables, the environment variable PYTHONPATH must be set to the path to the repo. (For example, PYTHONPATH=C:\Users\francis\Documents\GitHub\code;)

Repo Organization

This repo is organized as follows:


Contains tools to implement new anonymization methods.


Contains all of the attacks on the various anonymization methods.


Contains general support code.


Contains tools to generate diagrams of the attack and utility scores.


Contains tools to measure the utility of various anonymization methods

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gda-score-code-2.2.5.tar.gz (28.2 kB view hashes)

Uploaded source

Built Distribution

gda_score_code-2.2.5-py3-none-any.whl (32.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page