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
andutility
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.
- open pypi.org and create a new account if you don't have.
- send us your username to be added as a maintainer of the package on pypi that lets you upload a new release
- install
twine
using:pip install twine
- clean build files if there is any by running:
python setup.py clean --all
and also delete any folder nameddist
as the setup will create that itself and you won't face vrsion confilict because of past builds anymore. - 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",
...
)
- build the package:
python setup.py sdist bdist_wheel
- upload to pypi:
twine upload dist/*
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gda_score_code-2.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee125e48ff7cee7355cbb19c9b68db850c6b88c4973900a47360d62b6b981f62 |
|
MD5 | 958006bea9bd8ab340f82b69f77d2243 |
|
BLAKE2b-256 | fb2516bb36ad436eb5352f61c600e916e25d178033aa9ee972975274b5891dbd |