Python Differential Privacy Library
A library that contains implementations of differential privacy algorithms found in literature.
Usage
Setup
pip
Installation with The library is designed to run with Python 3.
The library can be installed from the PyPi repository using pip
(or pip3
):
pip install differential-privacy
Manual installation
For the most recent version of the library, either download the source code or clone the repository in your directory of choice:
git clone https://github.com/robomotic/differential-privacy.git
To install differential-privacy
, do the following in the project folder (alternatively, you can run python3 -m pip install .
):
pip install .
The library comes with a basic set of unit tests for pytest
. To check your install, you can run all the unit tests by calling pytest
in the install folder:
pytest