Skip to main content

A Differential Privacy Package

Project description

This is an alpha release, meaning it might not be stable. We suggest you install the latest stable build.

DiffPriv Logo

GitHub Workflow 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==v2.0.0a3

or from the source repo:

    git clone https://github.com/Quantalabs/DiffPriv
    cd diffpriv
    git switch v2.0.0-alpha3
    python setup.py install

Conda Envioronment

You can install it from conda through the command:

conda install -c conda-forge/label/diffpriv_dev diffpriv

Docs

Once installed, check out the docs at https://quantalabs.github.io/DiffPriv/v2a3/

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-2.0.0a3.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

DiffPriv-2.0.0a3-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file DiffPriv-2.0.0a3.tar.gz.

File metadata

  • Download URL: DiffPriv-2.0.0a3.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for DiffPriv-2.0.0a3.tar.gz
Algorithm Hash digest
SHA256 e5acea5a26a83795ab80886943d8f04fec228d43842aab023e7ca9a9e2974865
MD5 e64f8186afa559062db55b29deec8169
BLAKE2b-256 50cb0db037456d7eb36d58251382b716b81a04bb0969c4f02a4ff2bf5da0fb02

See more details on using hashes here.

Provenance

File details

Details for the file DiffPriv-2.0.0a3-py3-none-any.whl.

File metadata

  • Download URL: DiffPriv-2.0.0a3-py3-none-any.whl
  • Upload date:
  • Size: 27.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for DiffPriv-2.0.0a3-py3-none-any.whl
Algorithm Hash digest
SHA256 f18f794ce3f2f2bfd9311f6111cc831f959a9fe159e2845578f9b9d65988014f
MD5 43ca2ea88bc37bb031b1b7ee1f42bb74
BLAKE2b-256 193691de579956ef298fdbff98e5cb856908132447ad32fcbef5f18253027092

See more details on using hashes here.

Provenance

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