174 releases

0.11.1 Aug 19, 2024
0.11.1-nightly.20240828.1 Aug 29, 2024
0.10.0 Jun 20, 2024
0.9.2 Feb 8, 2024
0.6.1 Oct 27, 2022

#257 in Procedural macros

Download history 13/week @ 2024-06-28 62/week @ 2024-07-05 347/week @ 2024-07-12 368/week @ 2024-07-19 388/week @ 2024-07-26 426/week @ 2024-08-02 468/week @ 2024-08-09 935/week @ 2024-08-16 663/week @ 2024-08-23 104/week @ 2024-08-30 592/week @ 2024-09-13 118/week @ 2024-09-20 241/week @ 2024-09-27 115/week @ 2024-10-04 675/week @ 2024-10-11

1,165 downloads per month
Used in 2 crates

Custom license

130KB
3K SLoC

OpenDP logo

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. License: MIT

Python R Rust

main CI nightly CI

The OpenDP Library is a modular collection of statistical algorithms that adhere to the definition of differential privacy. It can be used to build applications of privacy-preserving computations, using a number of different models of privacy. OpenDP is implemented in Rust, with bindings for easy use from Python and R.

The architecture of the OpenDP Library is based on a conceptual framework for expressing privacy-aware computations. This framework is described in the paper A Programming Framework for OpenDP.

The OpenDP Library is part of the larger OpenDP Project, a community effort to build trustworthy, open source software tools for analysis of private data. (For simplicity in these docs, when we refer to “OpenDP,” we mean just the library, not the entire project.)

Status

OpenDP is under development, and we expect to release new versions frequently, incorporating feedback and code contributions from the OpenDP Community. It's a work in progress, but it can already be used to build some applications and to prototype contributions that will expand its functionality. We welcome you to try it and look forward to feedback on the library! However, please be aware of the following limitations:

OpenDP, like all real-world software, has both known and unknown issues. If you intend to use OpenDP for a privacy-critical application, you should evaluate the impact of these issues on your use case.

More details can be found in the Limitations section of the User Guide.

Installation

Install OpenDP for Python with pip (the package installer for Python):

$ pip install opendp

Install OpenDP for R from an R session:

install.packages("opendp", repos = "https://opendp.r-universe.dev")

More information can be found in the Getting Started section of the User Guide.

Documentation

The full documentation for OpenDP is located at https://docs.opendp.org. Here are some helpful entry points:

Getting Help

If you're having problems using OpenDP, or want to submit feedback, please reach out! Here are some ways to contact us:

Contributing

OpenDP is a community effort, and we welcome your contributions to its development! If you'd like to participate, please contact us! We also have a contribution process section in the Contributor Guide.

Dependencies

~4–6MB
~115K SLoC