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.1a20260628001.tar.gz (758.5 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.1a20260628001-py3-none-manylinux_2_28_aarch64.whl (52.3 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

opendp-0.15.1a20260628001-cp310-abi3-win_amd64.whl (45.8 MB view details)

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

opendp-0.15.1a20260628001-cp310-abi3-musllinux_1_2_x86_64.whl (53.8 MB view details)

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

opendp-0.15.1a20260628001-cp310-abi3-manylinux_2_28_x86_64.whl (50.9 MB view details)

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

opendp-0.15.1a20260628001-cp310-abi3-macosx_11_0_arm64.whl (47.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

opendp-0.15.1a20260628001-cp310-abi3-macosx_10_13_x86_64.whl (50.1 MB view details)

Uploaded CPython 3.10+macOS 10.13+ x86-64

File details

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

File metadata

  • Download URL: opendp-0.15.1a20260628001.tar.gz
  • Upload date:
  • Size: 758.5 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.1a20260628001.tar.gz
Algorithm Hash digest
SHA256 c57fa53b88658f4d9d9294dab8b0e65aa437ba4085fdd59a10ab5fc51e6af855
MD5 182e0b33389feb4e57394fa24d1eca62
BLAKE2b-256 47200f33ab53ce192f9d37f0e6751476d15129a6d32b42d7c8ed7da968305bbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260628001-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 270ac86672f31b6c3fcf16ebf2044e62dfc270af7716cc11a70d0aa5bf0c5a31
MD5 c980ded509ec13d5402b09c3ea0f85f1
BLAKE2b-256 3b482fa50e6864046ce37d72f69c13dd0dc3dbca781f510ff94e5200ea54302f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260628001-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8e1acb2dfcbf30c4d7fd52995a21d4c75f2107097569eaa5fcda584f115bdc53
MD5 10f20630b1be16d1aa8b2e8a7aa7af50
BLAKE2b-256 a4c618fddec1630c9381abac9f5761ee3bd5d33b779f46d267b7b93a3fa262c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260628001-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 998be973f52b3689b6d084e7930afdfc7a8984c33110f81027e8b9f2e58fef25
MD5 479e9f3fa369fa45715604c166fe015e
BLAKE2b-256 9ccb7e1fbea513fb7108ab70dc7503665ab929e721070a6144ac70e6a399a52e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260628001-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ec2c3d2bc1f2ae873f1353d44f6d97dc43723b7ebd652d0438588e3fa82493af
MD5 c9f16f49e9f4d5c430f28df1db849660
BLAKE2b-256 38799946736fd4a8ae578d52375e4cefed69f6bcdeb3b3337e84764297b578f5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260628001-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 495710636ac15f7fc7b686de6d06d45e5b2959e539912c7c5a8f9d01a1d7f7bf
MD5 6aa255c7d512374d0dc7a7f94991693c
BLAKE2b-256 ac3824bf308c222c2a6160ac04b2a1092b373ff3110314450ec7bb1ab31a1019

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260628001-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b928d2db7b58f4bcad213c5bc06baf3d723ea50a6e14108a29c0fcb46bc97fde
MD5 82c8127905d832aa7e1177302c63d26c
BLAKE2b-256 33ddb4707c4299bbba23682ed50bc41bd2640aa77195cf5f70c5728ddd85bbc4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260628001-cp310-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 8fa2965c0b942f4f6ed48e31927b3c49c71c9827ed45c8dcf845fa80e0408f28
MD5 655ac13c716f35af6b66f2153ea6d9db
BLAKE2b-256 5b749a0eb1b7131e5186b43ea63bcfdeb678e213d9fd50bfe6a1127e475acee6

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