Skip to main content

Python bindings for the OpenDP Library

Project description

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 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.0a20260518001.tar.gz (757.9 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.0a20260518001-py3-none-manylinux_2_28_aarch64.whl (52.4 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

opendp-0.15.0a20260518001-cp310-abi3-win_amd64.whl (45.9 MB view details)

Uploaded CPython 3.10+Windows x86-64

opendp-0.15.0a20260518001-cp310-abi3-win32.whl (39.8 MB view details)

Uploaded CPython 3.10+Windows x86

opendp-0.15.0a20260518001-cp310-abi3-musllinux_1_2_x86_64.whl (54.0 MB view details)

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

opendp-0.15.0a20260518001-cp310-abi3-manylinux_2_28_x86_64.whl (51.1 MB view details)

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

opendp-0.15.0a20260518001-cp310-abi3-macosx_11_0_arm64.whl (48.0 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

opendp-0.15.0a20260518001-cp310-abi3-macosx_10_13_x86_64.whl (50.3 MB view details)

Uploaded CPython 3.10+macOS 10.13+ x86-64

File details

Details for the file opendp-0.15.0a20260518001.tar.gz.

File metadata

  • Download URL: opendp-0.15.0a20260518001.tar.gz
  • Upload date:
  • Size: 757.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for opendp-0.15.0a20260518001.tar.gz
Algorithm Hash digest
SHA256 e61106a1f7fa3ab4c74cf470b504ac69fccfff4689c52095b82e19bb7c072b8a
MD5 a3aade814063d6f0ecc6aa6f3f455582
BLAKE2b-256 9e76c0348758a847d266e238317d738c48903949609d3be415f77cef599070ff

See more details on using hashes here.

File details

Details for the file opendp-0.15.0a20260518001-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for opendp-0.15.0a20260518001-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4bfddf5327032430c076efdb58b5aa846145b069e69ef49a5327b8e4d808b821
MD5 8e0f61499373ada731a4b755eefb75d8
BLAKE2b-256 149eba73aaf4b8b55d9ef9424ec883c028203036b898d98f5a9072da798ba152

See more details on using hashes here.

File details

Details for the file opendp-0.15.0a20260518001-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for opendp-0.15.0a20260518001-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c620e0f98c4d1f95b4eecc3846f6cd735a6734f0a1f0d82f660d3f6de04accea
MD5 8941033ad58fd683ad8f0d9b92d9033b
BLAKE2b-256 a999a532d3de2fdbbfd531ae83dfc8fda1aa602e4ebe56ce1ff8e9a94a44bcf1

See more details on using hashes here.

File details

Details for the file opendp-0.15.0a20260518001-cp310-abi3-win32.whl.

File metadata

File hashes

Hashes for opendp-0.15.0a20260518001-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 0197a9a655a3ef686acf37c73964e147f1655d106ff0f23c7c4e0f329b5b4257
MD5 c1f72ff81eff65644924834677bbc3f2
BLAKE2b-256 d6ae9ae9a237bbd0aed5975e9ddd6ab1e9c20a14f98e62b57aa3865e787c94b3

See more details on using hashes here.

File details

Details for the file opendp-0.15.0a20260518001-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for opendp-0.15.0a20260518001-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 79f89cf3485058fd4e7c7664e61fa5a2a448e9327e0130814b9d4869bb7df7f6
MD5 9e4200f016648a9a648f361fa57b08d0
BLAKE2b-256 9467bcf423c1cb2bee7e69382707e0c2913993001f845c0f55c1f466041b974d

See more details on using hashes here.

File details

Details for the file opendp-0.15.0a20260518001-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for opendp-0.15.0a20260518001-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 352a69e2f546c1d0f6ad35292620d2af19db68bbc4dfdf82f63f75ef6da5ae2a
MD5 ff5fb74e4cb8d8348fbf5a273e0562e1
BLAKE2b-256 081568f6c0d00f2c805ca1b58c95a121c98138c03f43151c77fcd23a78932402

See more details on using hashes here.

File details

Details for the file opendp-0.15.0a20260518001-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for opendp-0.15.0a20260518001-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c62cb33414e66f5ac554b70cc29c366498c9f63eaa154e95a8c95259bbd38e73
MD5 bb53a5fbb8aa5554387767d2a2197f83
BLAKE2b-256 e78f0f9afc7fed1669672e9e12e97f8b0e831f6e199d078fe588378baff84935

See more details on using hashes here.

File details

Details for the file opendp-0.15.0a20260518001-cp310-abi3-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for opendp-0.15.0a20260518001-cp310-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 f98c2f3fe02482fc646202c5c8772d820d54d9741505f546ce1fb9821e849029
MD5 61981f23f3a093d5265f4d3fb937a9a4
BLAKE2b-256 f0576eaae8a396def5c28b3ee28eb221a08fda0f987f5389da7ed50b19351b3b

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