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.0a2

or from the source repo:

    git clone https://github.com/Quantalabs/DiffPriv
    cd diffpriv
    git switch v2.0.0-alpha1
    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/v2a2/

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.0a2.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

DiffPriv-2.0.0a2-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: DiffPriv-2.0.0a2.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for DiffPriv-2.0.0a2.tar.gz
Algorithm Hash digest
SHA256 ae0f9933a7748b331524fa86704c634c456004b5380203266baae0a5c32551e0
MD5 350d17d61bc7adffc9ac2008c382c1c1
BLAKE2b-256 19721d33b44d0aaf896a326c8d9973c4a93bb4d605733f21e1bf0ec6a45f4f4a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: DiffPriv-2.0.0a2-py3-none-any.whl
  • Upload date:
  • Size: 28.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for DiffPriv-2.0.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 37b5501730e4cb555cfd2d3c2cbfb9fd5dfbb1c67b7615e7ee7d5a312e0fb457
MD5 d94dd84c171af9b92f4f94e4a81a18ae
BLAKE2b-256 390cb83efd9926fa7821aaae1f81942c1b96c561e16934f1f90b029e4f923753

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