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.

API documentation is available on ReadTheDocs.

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.7.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.7.0
File Size Uploaded Provenance Actions
dp_accounting-0.7.0.tar.gz 164.4 kB Without provenance Details for dp_accounting-0.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 350.5 kB

Release files / dp_accounting-0.7.0.tar.gz

Download URL dp_accounting-0.7.0.tar.gz
Size 164.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8e96cb81fd17862dc2e066a18a7e3469bfe467c7806cddbba90703bcaa68c14b
BLAKE2b-256 checksum
How to use checksums
bb1f79b6dfe5c98d794cb794abe308a8ef27d5c8e8341c1aa877785c28edde0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

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

Download URL dp_accounting-0.7.0-py3-none-any.whl
Size 186.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
569d7792a8ba38b33471136cf42e4715bc068125c8183df9b67cb81a2006d2f1
BLAKE2b-256 checksum
How to use checksums
11d1ce1294d4f25f15c13bc1e3f1b7117b97acd9aa97812bbe0d1df2a127df54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.7

Security for dp-accounting 0.7.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