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.

We test this library on Linux with Python version 3.7. 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.1.2.tar.gz (69.2 kB view details)

Uploaded Source

Built Distribution

dp_accounting-0.1.2-py3-none-any.whl (82.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dp-accounting-0.1.2.tar.gz
  • Upload date:
  • Size: 69.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for dp-accounting-0.1.2.tar.gz
Algorithm Hash digest
SHA256 39a262a9db2215f0af2b437f3ee8623d39ea187a2589418c5a6743813800c6d4
MD5 26a7e64e4fae52470b5b9b8b04807557
BLAKE2b-256 1477856897e50cbf3a13c4c670afdd687415e2b6ff5e0a15dc0baff044c1c678

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dp_accounting-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f1f5c0d8bc6d5dc72c820237dcb495a9a2ea850860907ee3980fbe2c0ee2b32
MD5 dc9ea3cefb48b81f7f40a2b09ce924f6
BLAKE2b-256 0ac68f3a3f77ad9fe70f5345f3e93645a12afd69898f2573fca9d826153b450b

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