Skip to main content

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.

Metadata

Release files for dp-accounting 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dp-accounting 0.6.0
File Size Uploaded Provenance Actions
dp_accounting-0.6.0.tar.gz 116.0 kB Without provenance Details for dp_accounting-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dp-accounting 0.6.0
File Interpreter ABI Platform Actions
dp_accounting-0.6.0-py3-none-any.whl Python 3 none any Details for dp_accounting-0.6.0-py3-none-any.whl

Total release size: 247.5 kB

Release files / dp_accounting-0.6.0.tar.gz

Download URL dp_accounting-0.6.0.tar.gz
Size 116.0 kB
Tags Source
SHA-256 checksum
How to use checksums
87820afdec3baa83c57abaad91163628de6abf74f292e56330b5a081d57c69e1
BLAKE2b-256 checksum
How to use checksums
660bfee602ddf980634e511e5f5e5549823aeafec91bf9ca8225f8f1c5e858cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / dp_accounting-0.6.0-py3-none-any.whl

Download URL dp_accounting-0.6.0-py3-none-any.whl
Size 131.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b34aa04034b723235f62337869e6a7c132ceddd60d02d4c89ddf0e561c21d59
BLAKE2b-256 checksum
How to use checksums
55661da9aafc99cdf86af2fa90c6559db123e3eb62842c563c3408593c9436d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Security for dp-accounting 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page