google/differential-privacy

Google's differential privacy libraries.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 52 minutes ago
Added to GitGenius on September 20th, 2026
Created on September 4th, 2019
Open Issues & Pull Requests: 59 (+0)
GitHub issues: Enabled
Number of forks: 434
Total Stargazers: 3,361 (+0)
Total Subscribers: 120 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 11
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 295 days
Stale 30+ days: 10
Stale 90+ days: 7

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (1)
  • feature request (1)
  • pipelinedp4j (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Differential Privacy is a collection of libraries for generating differentially private statistics over datasets.

The project addresses the challenge of computing aggregate statistics while mathematically guaranteeing that individual records cannot be reverse-engineered from results. It provides multiple tools suited to different use cases and programming languages. Privacy on Beam offers an end-to-end framework for Go built on Apache Beam, designed for accessibility to non-experts. PipelineDP4j provides equivalent functionality for JVM languages and supports both Apache Beam and Apache Spark. Underlying these high-level frameworks are three DP building block libraries in C++, Go, and Java that implement the core noise addition primitives and differentially private aggregations. The project also includes a stochastic tester for catching regressions, a privacy budget accounting library, a command-line interface for running differentially private SQL queries, and DP Auditorium for auditing differential privacy guarantees.

Developers should choose this toolkit if they need to publish statistics from sensitive datasets while providing formal privacy guarantees. The DP building block libraries, Privacy on Beam, and PipelineDP4j are suitable for research, experimental, or production use. Other tools remain experimental and subject to change. The project acknowledges that understanding differential privacy fundamentals is helpful even when using high-level tools, and essential when working with lower-level libraries. For Python users, related projects developed in collaboration with OpenMined provide Python bindings and a Python-native framework.

The project maintains active development across multiple language implementations and tool types, indicating sustained investment in supporting diverse deployment scenarios. Documentation is organized per tool with dedicated README files in respective directories, suggesting a modular maintenance approach. The inclusion of a stochastic testing framework demonstrates attention to correctness and regression prevention in privacy-critical code. The project provides educational resources and acknowledges the learning curve involved in differential privacy, indicating awareness of adoption barriers.