Skip to main content

Python bindings for the OpenDP Library

Project description

OpenDP logo

License: MIT

Python R Rust

main CI nightly CI doc-check 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.

[!NOTE] This software is part of the OpenDP Commons. As such, the OpenDP Executive Committee commits to:

  • Releasing this software under an OSI approved licence, in this case the MIT License.
  • Ensuring there are at least two maintainers, in this case Michael Shoemate (Shoeboxam) and Chuck McCallum (mccalluc), who will respond within a week to new issues and PRs.
  • Only making changes on main through PRs, and getting approval on these PRs before merging.
  • On an annual basis, recruiting one or more volunteers (not active contributors) who will conduct a health-check, focussed not on the details of the algorithms but on the health of this repo as open source software. Their report will be linked here. The next (and first) health-check is scheduled for September 2026.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opendp-0.15.1.dev20260714001.tar.gz (791.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

opendp-0.15.1.dev20260714001-py3-none-manylinux_2_28_aarch64.whl (56.8 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

opendp-0.15.1.dev20260714001-cp310-abi3-win_amd64.whl (45.9 MB view details)

Uploaded CPython 3.10+Windows x86-64

opendp-0.15.1.dev20260714001-cp310-abi3-win32.whl (40.0 MB view details)

Uploaded CPython 3.10+Windows x86

opendp-0.15.1.dev20260714001-cp310-abi3-musllinux_1_2_x86_64.whl (58.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ x86-64

opendp-0.15.1.dev20260714001-cp310-abi3-manylinux_2_28_x86_64.whl (47.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.28+ x86-64

opendp-0.15.1.dev20260714001-cp310-abi3-macosx_11_0_arm64.whl (48.0 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

opendp-0.15.1.dev20260714001-cp310-abi3-macosx_10_13_x86_64.whl (50.2 MB view details)

Uploaded CPython 3.10+macOS 10.13+ x86-64

File details

Details for the file opendp-0.15.1.dev20260714001.tar.gz.

File metadata

  • Download URL: opendp-0.15.1.dev20260714001.tar.gz
  • Upload date:
  • Size: 791.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for opendp-0.15.1.dev20260714001.tar.gz
Algorithm Hash digest
SHA256 786b3243c475f6d3dffc14f16339fbdcfecf08f000d5d3929d26e4aca6de58d0
MD5 f753880228e93fae402e36640431da54
BLAKE2b-256 b23452c05a3e5a3989ea715232d9cf894185514b063102b235df9ece967605a9

See more details on using hashes here.

File details

Details for the file opendp-0.15.1.dev20260714001-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for opendp-0.15.1.dev20260714001-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 f5548b0436d5eaa516dfdcc9be99109881581376f8792915cae6a76d39262f2a
MD5 3236fec6f2a6968627837c3838b15830
BLAKE2b-256 889fa5d5f1064b322764d0497b5aebd90e17f2b73d4dbe7dd29717482da1f10a

See more details on using hashes here.

File details

Details for the file opendp-0.15.1.dev20260714001-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for opendp-0.15.1.dev20260714001-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 650f4a67cf1b74e03f02102df0630948b4a34e13df416941b25c0b0d09f1862c
MD5 5d57c23c8da70b5211bd16163d2cb8ad
BLAKE2b-256 5355c37cd2a5acfd76f12dbb569adc9788ea0045a0807bb82c7d5897851b0e5e

See more details on using hashes here.

File details

Details for the file opendp-0.15.1.dev20260714001-cp310-abi3-win32.whl.

File metadata

File hashes

Hashes for opendp-0.15.1.dev20260714001-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 11e838981f4dfdf639f600e1c71844ea2dedabe4a29953ec82c9ab1742ba9f42
MD5 495188a94eb0dbf9146092119e574524
BLAKE2b-256 7507d086b8423bcc3d4244cf4964dd6abf4bca041286cb7977a09a46986f0f8f

See more details on using hashes here.

File details

Details for the file opendp-0.15.1.dev20260714001-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for opendp-0.15.1.dev20260714001-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 31f360ab84f18423c468898d8b78717f7e689861961f468243745b97b3d06aca
MD5 8645226d5004bfe7d96974a64aa06646
BLAKE2b-256 f4471e3212678447e502e4d524dcaef4d2bca2d72ba85101828e993fbd363637

See more details on using hashes here.

File details

Details for the file opendp-0.15.1.dev20260714001-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for opendp-0.15.1.dev20260714001-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 035d69da938e6eafc6984c57ccbe428bd95c18079218cc61fb3dedb1a9c4c1e1
MD5 c011f900f2c1a54bc96763b0601dae09
BLAKE2b-256 221ac8b16a65855f01fc6772ed110bd38b17c89f5a839a5dec0afc5a89724b4c

See more details on using hashes here.

File details

Details for the file opendp-0.15.1.dev20260714001-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for opendp-0.15.1.dev20260714001-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 115372d3f57b1740f4962831a05a954e3ddca714683641d9d5bf69d438ec6098
MD5 90b9d52fe86c4e04d04371451842d160
BLAKE2b-256 87ee886d92c3a158f05ce1a92a3b9db43fc554a44847102250aa0f6e78ca2b61

See more details on using hashes here.

File details

Details for the file opendp-0.15.1.dev20260714001-cp310-abi3-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for opendp-0.15.1.dev20260714001-cp310-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 c1b3c40df7a57b332cf3ae991e897b683fa7d4bea0b4d470fb035d878cbacf13
MD5 9132e3f0ac6f98a64d75896a78d03b09
BLAKE2b-256 b50890f0be9926ae98f1cb1ffd493c939ebf04029ca073930e6ea5aa50c3fb67

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page