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

Uploaded Python 3manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

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

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

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

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

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

opendp-0.15.1-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.1.tar.gz.

File metadata

  • Download URL: opendp-0.15.1.tar.gz
  • Upload date:
  • Size: 757.0 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.1.tar.gz
Algorithm Hash digest
SHA256 0fb85667f321659c8cc7ae317c117e31e555c0b36e48522092002a5f24d5d795
MD5 b45738fef51f5a93c2fd4b978bf73ffc
BLAKE2b-256 5eeb5956e64b09aef432a70161325a7e0507ea22240083c7014871d6bd2417a1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d0e3df48a6641dabd8b32c652be8c2b035debdb735b36bd08bbe36d75cc6bba5
MD5 69f8f9d68bf9dd9eb93dcfed0f0e4009
BLAKE2b-256 82e0329d729e123d640226d5b6cd6a1fa2ae4c262adef8f585cc8bdcaae7342e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opendp-0.15.1-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 45.8 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for opendp-0.15.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f01413dee6b4ce174bb6e1be868d38bb0e15aa34312da5f647496aac48c7862a
MD5 cdf8a283f789a0df7a3ce3fa079d7777
BLAKE2b-256 7d6a00faaa65fdb3ac4db93d05c1039a844ff4ac95476b074b7c802e37c7fe7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opendp-0.15.1-cp310-abi3-win32.whl
  • Upload date:
  • Size: 39.8 MB
  • Tags: CPython 3.10+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for opendp-0.15.1-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 8d0e37c36a2493ae356724b20b0e419950d7bfb00670e48e89ad5afe139ddec5
MD5 bb342930ce04cf3861c63be8cb560563
BLAKE2b-256 64e42cf584a9c358b18d6a91d8c9fb055bca6363fbd077bbcb30231dae252dd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 8a39e4e30c6c52d5303cd47a0642f8e4748096a4eb513355db1bab6855566215
MD5 eb8feb0ec6cbd3fd26260571ad54effd
BLAKE2b-256 ced2673c4beb6beafe160acc025ce7bd3857c59adaf25ed2912e6ec8a33ba1ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5fcce9157b80c79be490bb24aff0c5557bb06fc90974d403c1c4c6cf7fadb737
MD5 2a4232c3ad67077784b109da54e0ffe4
BLAKE2b-256 d32fe536fb003181e21031c0623c37a8f30bed9e0971916b183e2f63dcf7aba0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 48c4038b2d946c83db0b6cf5b9f2a9331b2c09e7172a2fb00d51734563a52dd1
MD5 20be78a670ad58414a9e7cdf03b62145
BLAKE2b-256 782d022201037293cf07aef1bff59df521c7701853cb2cd4b5dcb5c4a80fa503

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1-cp310-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 490f29b587132822f99fe3ed3fe380af8b74f98261a2e60f3d98775c9119a153
MD5 c08a3cfa927eb4105018a98eed3bd1b3
BLAKE2b-256 716018588e19a2848058dadfd5eaa7a126343fd0f1588440d96c7d2a44ce524f

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