Skip to main content

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.gdaAttack import gdaAttack
    from gdascore.gdaScore import gdaScores    
    from gdascore.gdaTools 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. For example:
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/

Release files for gda-score-code 2.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gda-score-code 2.3.1
File Size Uploaded
gda-score-code-2.3.1.tar.gz 29.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gda-score-code 2.3.1
File Interpreter ABI Platform
gda_score_code-2.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 63.2 kB

Release files / gda-score-code-2.3.1.tar.gz

Download URL gda-score-code-2.3.1.tar.gz
Size 29.1 kB
Tags Source
SHA-256 checksum
How to use checksums
af09868c0324a04ccb35fda7a4e5a9997e4c37948f886515c04047e9abf882d0
BLAKE2b-256 checksum
How to use checksums
3801cfe6dabfa900cbfe370c62bdbeae61bdee6bcac958d492b5f9423e2cf9ad
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / gda_score_code-2.3.1-py3-none-any.whl

Download URL gda_score_code-2.3.1-py3-none-any.whl
Size 34.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7aab43dee1a014f4443bea00cd9653cfba615eb7b0810effb377f9a6ca124cab
BLAKE2b-256 checksum
How to use checksums
a11af6f819fa2b7fabaa1fbaa31c5dd17b0d7fcfef17981553f944767f73821a
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

2.5.4

2 release files

2.5.3

2 release files

2.5.2

2 release files

2.5.1

2 release files

2.5.0

2 release files

2.4.9

2 release files

2.4.8

2 release files

2.4.7

2 release files

2.4.6

2 release files

2.4.5

2 release files

2.4.4

2 release files

2.4.3

2 release files

2.4.2

2 release files

2.4.1

2 release files

2.4.0

2 release files

2.3.9

2 release files

2.3.8

2 release files

2.3.7

2 release files

2.3.6

2 release files

2.3.5

2 release files

2.3.4

2 release files

2.3.3

2 release files

2.3.2

2 release files

This release

2.3.1 This release

2 release files

2.3.0

2 release files

2.2.9

2 release files

2.2.8

2 release files

2.2.7

2 release files

2.2.6

2 release files

2.2.5

2 release files

2.2.4

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.1.1

2 release files

2.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page