Skip to main content

Tools for tracking differential privacy budgets

Project description

Differential Privacy Accounting

This directory contains tools for tracking differential privacy budgets, available as part of the Google differential privacy library.

The set of DpEvent classes allow you to describe complex differentially private mechanisms such as Laplace and Gaussian, subsampling mechanisms, and their compositions. The PrivacyAccountant classes can ingest DpEvents and return the ε, δ of the composite mechanism. Privacy Loss Distributions (PLDs) and RDP accounting are currently supported.

More detailed definitions and references about PLDs can be found in our supplementary pdf document.

Our library only support Python version >= 3.9. We test this library on Linux with Python version 3.9. If you experience any problems, please file an issue on GitHub, also for other platforms or Python versions.

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

dp-accounting-0.4.0.tar.gz (86.2 kB view details)

Uploaded Source

Built Distribution

dp_accounting-0.4.0-py3-none-any.whl (100.9 kB view details)

Uploaded Python 3

File details

Details for the file dp-accounting-0.4.0.tar.gz.

File metadata

  • Download URL: dp-accounting-0.4.0.tar.gz
  • Upload date:
  • Size: 86.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for dp-accounting-0.4.0.tar.gz
Algorithm Hash digest
SHA256 0e66cc5e6cad7ef3a3467f113efd09e53256971e963a26a2f57c0f647edba9cb
MD5 30f10d5122c34f8ecbfa6e5cb348a81e
BLAKE2b-256 9b3c24853cab84657d29750c11fe009b632a124d2cfd77bef1d8efa0b7a551a9

See more details on using hashes here.

Provenance

File details

Details for the file dp_accounting-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dp_accounting-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 321de40986ad385bb4160fc299267cb0f7ec10f89702109a948d944343d679e1
MD5 6f008a842f4477b907f387f742e46679
BLAKE2b-256 c195eea3a0d95d85deeba5717443208f5a5a7a04fad7e6754823a3e3974c94c7

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