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

Uploaded Source

Built Distribution

dp_accounting-0.5.0-py3-none-any.whl (125.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dp_accounting-0.5.0.tar.gz
  • Upload date:
  • Size: 110.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dp_accounting-0.5.0.tar.gz
Algorithm Hash digest
SHA256 9938c4c2985ebb7aa480a637ea18f605286f0b698645e6d6895e9bb05b7c1d00
MD5 fa49af317fc3413cad93e69a8ce570de
BLAKE2b-256 d05a442691cfc814bd53322adcf62720bf46d6cd8b2fd060749fd0ebb97277aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dp_accounting-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 125.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for dp_accounting-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb4481773703f7407e0ece9a2c5b973f2b4b6fda9d43600ec314a41e76853e3a
MD5 4278890c48ed3077ef7d1b6ba0a1be12
BLAKE2b-256 3b167d88c5b7dccb03fc27a7cb7d709b7cde8a31d2925fea0c37eeba8224c2fd

See more details on using hashes here.

Supported by

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