dp-accounting0.4.4
Published
Tools for tracking differential privacy budgets
pip install dp-accounting
Package Downloads
Authors
Project URLs
Requires Python
>=3.7
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.