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 license, 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, focused 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.1a20260719001.tar.gz (763.0 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.1a20260719001-py3-none-manylinux_2_28_aarch64.whl (56.6 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

opendp-0.15.1a20260719001-cp310-abi3-win_amd64.whl (42.9 MB view details)

Uploaded CPython 3.10+Windows x86-64

opendp-0.15.1a20260719001-cp310-abi3-win32.whl (36.9 MB view details)

Uploaded CPython 3.10+Windows x86

opendp-0.15.1a20260719001-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.1a20260719001-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.1a20260719001-cp310-abi3-macosx_11_0_arm64.whl (48.0 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

opendp-0.15.1a20260719001-cp310-abi3-macosx_10_13_x86_64.whl (44.8 MB view details)

Uploaded CPython 3.10+macOS 10.13+ x86-64

File details

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

File metadata

  • Download URL: opendp-0.15.1a20260719001.tar.gz
  • Upload date:
  • Size: 763.0 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.1a20260719001.tar.gz
Algorithm Hash digest
SHA256 e3491503a2796311b933813e9bbf9365741a2910decd909e05eddfe9c75b6627
MD5 b39dfa4f236f2db987e7266dab715c73
BLAKE2b-256 22a251c867e5db3f54861ddc89f0755d453f04064ee32357138cecb6faeb4aac

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260719001-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 011e95635b053d3ac9570e7c49aa27a711218e242b14ec50842f06e53a741679
MD5 44cf7a78cf16e2027e5d2b1eceab3f6a
BLAKE2b-256 8b3ef5e8b5db9c10701897a79858578ca6eaecc9bd93350a8b3d9a431985c0d1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260719001-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 65df3773b4c880a1f8c623b5b1a22b0b586c98df03a00ab52adf83eed61242b4
MD5 9350c8bfe9873b2a3be6febf16649795
BLAKE2b-256 d5c2d875dd0a4e1527279d2c6dd9568106432465db2f39a922c0420b50d5a894

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260719001-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 e30ffd0365284e0952db133fba5d54425b38c50872a834900fd4b0e61d0d5ce7
MD5 cc2848dd455250b2d184255e88bcafb6
BLAKE2b-256 2dc27923c8be29161474087e6b1c3d533818800d5415970c94a867d05664e72f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260719001-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8fbab68129c394bc3fa1b8affc9dd1519ef07e87c750028d8449fad41c712e96
MD5 c87d2d166d79afa07ac7519825e8a4ce
BLAKE2b-256 f9ace27012386a9788d8ec73283c73087b76f4e68eb19cf06733579a7009cae5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260719001-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 40d08eab5cc83acd31df07de9eee3c07d690c2372060b1ad5a13ba941153ee52
MD5 54b9696ed28f022cb1b33c33025561ee
BLAKE2b-256 99a95e2c5f15f4019e8194618ce11a6b4364638e06b260472b27935660d8680c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260719001-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3e718c09f43cca2d217ad6567a5c73fe87979c8266176bd2255dcf52bb560721
MD5 fb0368315419a3a1b107a1719c1fabf2
BLAKE2b-256 9db2ad529b1b13010cd53d6d0b110e45b22866500b6725a0a736f783f9730faa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260719001-cp310-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 34bb6cd4bf7a25f0b52fbc19b7bca96bde23b73f37fe1526f6adc77c365a270a
MD5 4e7a81d4b85912b31331e728c829bf05
BLAKE2b-256 dec95eaae9fe25868620533a9fca02baf85dac071f83f47dd88248227d5c7a1f

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