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

Uploaded Source

Built Distribution

dp_accounting-0.4.4-py3-none-any.whl (117.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dp_accounting-0.4.4.tar.gz
  • Upload date:
  • Size: 101.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for dp_accounting-0.4.4.tar.gz
Algorithm Hash digest
SHA256 7f632bd72628b029bd7acd8e61bdbbaccfb270144e09d84153e4154817009161
MD5 9c0b12ebb5c952562581526b1a6837aa
BLAKE2b-256 f036e2a4e2a939538675f108e3a8d329d52c7152208fbd389be239380e43481f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for dp_accounting-0.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8421eb08655ea7ae9b3fb7e18b8da20a974873a869399439cf842a050b7e5567
MD5 468d0dd22cea28369e6141379cbb25ea
BLAKE2b-256 d2cc63c51ca76a4eddd5b8fa444f5c7d0711f5f61594032cbd9598e0eab0d09c

See more details on using hashes here.

Provenance

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