More Examples#

Most of the examples that follow use the Framework API in Python. Although it is more verbose than the Context API, it has the advantage of being very similar to the Rust and R APIs, and Rust and R users should be able to follow the Python examples. We are planning to translate the Python examples to Rust and R.

Python Notebooks#

These introductory notebooks can be run locally, on Binder, or Colab:

The Theory section also provides several notebooks.

API Examples#

There are many useful examples in API docs:

Rust Examples#

See the OpenDP Rust documentation for examples on how to use the Rust API.

The Rust API is nearly identical to the Python Framework API, except that explicit type arguments in the Python API are generics.

Applications built with OpenDP#

  • SmartNoise SQL enables differentially private SQL queries.

  • SmartNoise Synthesizers help you create differentially private synthetic data.

  • DPCreator is a web app which guides you through the process of making a differentially private release.

Please let us know if you have an application to add to this list.