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.1.tar.gz (88.0 kB view details)

Uploaded Source

Built Distribution

dp_accounting-0.4.1-py3-none-any.whl (103.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dp-accounting-0.4.1.tar.gz
  • Upload date:
  • Size: 88.0 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.1.tar.gz
Algorithm Hash digest
SHA256 a2f61a23c74702fa6774257b7d8be06b779700673edd6fbf29e17f5cf484900e
MD5 889348c8d07fea22ea419114998cfc2e
BLAKE2b-256 be6e27c197222928c9d4932d9e968f9dad72d2880659fe88588501937331e991

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dp_accounting-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3a33650887428adae9a6eed4c3edf41eaedef86a3889b121e4ae6c63aa877947
MD5 45715a42afec160b47b15e997322d5fb
BLAKE2b-256 f514da2d648a33a6a5d55c9b9b9d06d6064228243082fc8838724eb00a62934d

See more details on using hashes here.

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