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 supports Python version >= 3.10. We test this library on Linux with Python version 3.10. 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.6.0.tar.gz (116.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dp_accounting-0.6.0-py3-none-any.whl (131.5 kB view details)

Uploaded Python 3

File details

Details for the file dp_accounting-0.6.0.tar.gz.

File metadata

  • Download URL: dp_accounting-0.6.0.tar.gz
  • Upload date:
  • Size: 116.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for dp_accounting-0.6.0.tar.gz
Algorithm Hash digest
SHA256 87820afdec3baa83c57abaad91163628de6abf74f292e56330b5a081d57c69e1
MD5 4bd7dda4819d6a3cba265531b72e0b6e
BLAKE2b-256 660bfee602ddf980634e511e5f5e5549823aeafec91bf9ca8225f8f1c5e858cc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dp_accounting-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 131.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for dp_accounting-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b34aa04034b723235f62337869e6a7c132ceddd60d02d4c89ddf0e561c21d59
MD5 7e3720eb03da4777f0491a83669841bd
BLAKE2b-256 55661da9aafc99cdf86af2fa90c6559db123e3eb62842c563c3408593c9436d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page