Skip to main content

A library that contains differential privacy algorithms from the literature.

Project description

Python Differential Privacy Library

PyPi version

A library that contains implementations of differential privacy algorithms found in literature.

Usage

Setup

Installation with pip

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

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

differential-privacy-0.1.0.tar.gz (1.9 kB view details)

Uploaded Source

File details

Details for the file differential-privacy-0.1.0.tar.gz.

File metadata

  • Download URL: differential-privacy-0.1.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.5

File hashes

Hashes for differential-privacy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7221f6431880fa736c8660c81c3a99e567f47e485af906e37be9fca7bd1c75e2
MD5 be2488a0e8754cbaf971242867b273c2
BLAKE2b-256 0869f6d2ee84b649ef6235a35ab8cfb7c976214dfc4a540a037eefc696152433

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