Skip to main content

DP Wizard

pypi

DP Wizard makes it easier to get started with differential privacy, the addition of calibrated noise to aggregate statistics to protect the privacy of individuals. DP Wizard demonstrates how to calculate DP statistics or create a synthetic dataset from the data you provide.

If differential privacy is new to you, these slides provide some background, and explain how DP Wizard works.

Options for running DP Wizard:

See the FAQ for more information.

Screenshots

Select Dataset: Screenshot with a "Data Source" panel on the left, and "Unit of Protection" and "Product" on the right.

Define Analysis: Screenshot with four panels: "Columns", "Grouping", "Privacy Budget", and "Simulation".

Download Results: Screenshot with links to download analysis results".

Usage

DP Wizard requires Python 3.10 or later. You can check your current version with python --version. The exact upgrade process will depend on your environment and operating system.

Install with pip install 'dp_wizard[pins]' and you can start DP Wizard from the command line.

usage: dp-wizard [-h] [--demo] [--host HOST] [--port PORT] [--no_browser] [--reload]

DP Wizard makes it easier to get started with Differential Privacy.

options:
  -h, --help    show this help message and exit
  --demo      Generate a demo CSV: See how DP Wizard works without providing your own data
  --host HOST   Bind socket to this host
  --port PORT   Bind socket to this port. If 0, a random port will be used.
  --no_browser  By default, a browser is started; Enable this for no browser.
  --reload      Enable to watch source directory and reload on changes.

Unless you have set "--demo", you will specify a CSV or TSV inside the application.

Provide a "Private Data" if you only have a private data set, and want to
make a release from it: The preview visualizations will only use
simulated data, and apart from the headers, the private data is not
read until the release.

Provide a "Public Data" if you have a public data set, and are curious how
DP can be applied: The preview visualizations will use your public data.

Provide both if you have two CSVs or TSVs with the same structure.
Perhaps the public data is older and no longer sensitive. Preview
visualizations will be made with the public data, but the release will
be made with private data.

Metadata

Release files for dp_wizard 0.10.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 dp_wizard 0.10.0
File Size Uploaded
dp_wizard-0.10.0.tar.gz 437.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dp_wizard 0.10.0
File Interpreter ABI Platform
dp_wizard-0.10.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 565.2 kB

Release files / dp_wizard-0.10.0.tar.gz

Download URL dp_wizard-0.10.0.tar.gz
Size 437.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3143ec27467f561d0eacba72418a42982934a25011a3853257f9408f4991c8f4
BLAKE2b-256 checksum
How to use checksums
ace93bd51b7d8d73d21cf4e95ddd86d8db2c40425221d8fa6bfd538a252db970
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.4

Release files / dp_wizard-0.10.0-py2.py3-none-any.whl

Download URL dp_wizard-0.10.0-py2.py3-none-any.whl
Size 128.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0bef1243a21180044c82a8c8ab914eb479206b4e24423aed2735e4f48f511cd2
BLAKE2b-256 checksum
How to use checksums
56bc44c959f2235e734b275ba14415c980766ac0bf925bf7d50ef2b4ef262fa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.4

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.0.1

2 release files

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