Skip to main content

A Differential Privacy Package

Project description

DiffPriv Logo

Build Status PyPI Version DeepSource codecov License Downloads Downloads Downloads Chat on GitHub Discussions Conda

The truth is more important than ever—let's make sure easy privacy protection is available.

Differential privacy should be simple. Now that data defines our world, we need to look at the cost of privacy. Let's make protecting privacy easy.



What is differential privacy?

Differential privacy allows for data to be preserved while making sure that attackers cannot gain access to an individual's data. Even if you publish summary statistics (like average age of participants, unlabeled addresses of participants, etc.), attackers can gain access to individual data (like age of each participant, labeled addresses of participants, etc.). In order to achieve this, differential privacy slightly changes the actual dataset to make sure that any uncovered data will not give away personal information. See below for how to get started!


Downloading DiffPriv

To download, open up your command prompt and type

    pip install DiffPriv

or from the source repo:

    git clone https://github.com/Quantalabs/DiffPriv
    cd diffpriv
    python setup.py install

Conda Envioronment

You can install it from conda through the command:

conda install -c conda-forge diffpriv

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

DiffPriv-1.0.3.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

DiffPriv-1.0.3-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file DiffPriv-1.0.3.tar.gz.

File metadata

  • Download URL: DiffPriv-1.0.3.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for DiffPriv-1.0.3.tar.gz
Algorithm Hash digest
SHA256 36e478770a4107b4aecec77e5548115213c33c731f556475307aeef784ad205a
MD5 c67d080b30caa7779e633eac1448f94a
BLAKE2b-256 b0f72c78b6da3b3ac1b249e394732eb12c7fcbbe271dee5960ea643745f7efb2

See more details on using hashes here.

File details

Details for the file DiffPriv-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: DiffPriv-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 21.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for DiffPriv-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c65824c6439a74ee7f346191ee85dffe8c0af7f4ce764c70247de3ab46c9d5c7
MD5 a4e1bedd88c1257795151f5b5e5b0202
BLAKE2b-256 14b79c01daba35eb27dd2aca33b847949cc702223e04ba2354fd4cd74e169428

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page