DP Wizard
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:
- No install online demo: Does not support data upload.
- Install from Docker:
docker run -p 8000:8000 mccalluc/dp-wizard - Install from PyPI:
pip install 'dp_wizard[pins]'; dp-wizard - Install from source: See developer instructions.
See the FAQ for more information.
Screenshots
Select Dataset:
Define Analysis:
Download 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)
| File | Size | Uploaded | |
|---|---|---|---|
| dp_wizard-0.10.0.tar.gz | 437.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|