Skip to main content

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

Metadata

Release files for differential-privacy 0.1.0

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

Source distribution (sdist)

Source distribution for differential-privacy 0.1.0
File Size Uploaded
differential-privacy-0.1.0.tar.gz 1.9 kB Details

Release files / differential-privacy-0.1.0.tar.gz

Download URL differential-privacy-0.1.0.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7221f6431880fa736c8660c81c3a99e567f47e485af906e37be9fca7bd1c75e2
BLAKE2b-256 checksum
How to use checksums
0869f6d2ee84b649ef6235a35ab8cfb7c976214dfc4a540a037eefc696152433
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/39.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

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