Skip to main content

Tools for generating General Data Anonymity Scores (www.gda-score.org)

Project description

code

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 https://gda-score.github.io/.

To run

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 import statements such as the following in your code (see examples in attacks and utility repos):

    from gdascore.gdaScore import gdaAttack, gdaScores    
    from gdascore.gdaUtilities import *  
    from gdascore.gdaQuery import *  
    

How to update package on pip

Please follow the steps below if you are a contributor and want to upload new release of the library on pip.

  1. open pypi.org and create a new account if you don't have.
  2. send us your username to be added as a maintainer of the package on pypi that lets you upload a new release
  3. install twine using: pip install twine
  4. clean build files if there is any by running: python setup.py clean --all and also delete any folder named dist as the setup will create that itself and you won't face vrsion confilict because of past builds anymore.
  5. update the version of package in the file setup.py and increase it. it is not possible to upload same version twice so remember to do that. name parameter should not change.
setuptools.setup(  
    name="gda-score-code",  
    version="2.2.6", # increase it
    author="Paul Francis",
    ...
  )
  1. build the package: python setup.py sdist bdist_wheel
  2. upload to pypi: twine upload dist/*
  3. it will first ask for your username and password and then start uploading.

note: you can always first upload the package into test.pypi.org instead of the main one to try installing it yourself and then upload to the main pypi repository. should you need to do that please refer to : https://packaging.python.org/guides/using-testpypi/

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.3.0.tar.gz (29.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gda_score_code-2.3.0-py3-none-any.whl (34.1 kB view details)

Uploaded Python 3

File details

Details for the file gda-score-code-2.3.0.tar.gz.

File metadata

  • Download URL: gda-score-code-2.3.0.tar.gz
  • Upload date:
  • Size: 29.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.9

File hashes

Hashes for gda-score-code-2.3.0.tar.gz
Algorithm Hash digest
SHA256 999cabfdd3555766fe3dd4256e9e0e1c0576ff7c96d53e74989d6e5572bbec09
MD5 cd748ce286d6c7fee7525f227d11c0dd
BLAKE2b-256 ec6cc410556817028d9d1b11041fa90201aea9d2d613af82ae3eb0e8e2eff8eb

See more details on using hashes here.

File details

Details for the file gda_score_code-2.3.0-py3-none-any.whl.

File metadata

  • Download URL: gda_score_code-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 34.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.9

File hashes

Hashes for gda_score_code-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fdef35b48cf17681020ef3bada62abd63211e7ae17feb7552eeb11fbce223411
MD5 6e636788db77eda73c98b854dddb1b89
BLAKE2b-256 fd6d4b54384d8d93a348b02a74179f80223a6517a23a28ab08ea25bd0aa2b1d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page