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

Uploaded Python 3manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

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

File metadata

  • Download URL: opendp-0.15.1a20260614001.tar.gz
  • Upload date:
  • Size: 758.2 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.1a20260614001.tar.gz
Algorithm Hash digest
SHA256 cda15da811dab278d7cbf764a317ea9e69f76952ed8e1a899c8a95e27ed70438
MD5 0ff83a5225cd28dc67bb0841a984a9ff
BLAKE2b-256 d9cf4e84faedd7dbd80da51727128280f2eeb03aa24e298d8a468100028d72ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260614001-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2ab4e94ea801826249ffd55c6d6bb458d5473a077cf90729e6e05ecae8f1b06a
MD5 04a275939bd9baa96a37ed81953bd62f
BLAKE2b-256 2eaa97d7309ecb61f1fb180bf64c956550d6d94b8a17151f5942807dbbe44cbd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260614001-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 517b97700bb478aa5c3553726ab11e174dd36fcc3965a8ce9e08ade706a52142
MD5 73a0fa1f9541be545a6de237b5403be7
BLAKE2b-256 1cd68a64423c1132b51a7e5022565f5adee1aee70f013616559135c649c7dbc0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260614001-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 e22dc9d6c8c2f67f2861e9e70ac68764c6a3e0e197442800969b9f9274c0abe8
MD5 add349d74e72d445b202ba136b307ddd
BLAKE2b-256 a3ed5568e1f5e6c7182eb2178ac391d1b9a9483c2774d4d5c79d637c2a27dc54

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260614001-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 342ed7ff7ca6aa64028b14fa3bca8c8c7bcfcdb951d8d36d5fb61a303652aa9a
MD5 433a317980268bb23bfa512bc7f2b7b2
BLAKE2b-256 d4731033c0f7508d1a7750e514e1c92bccb2815763a6aab1fe616376ed49647c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260614001-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8f322130d46d1c5c55408f4064fff5735cd53598848170ff8cc310be51280d97
MD5 1e994912af2624608db22df33d06cae8
BLAKE2b-256 2a5f732d02c3fe3efb738ee7bbe42dda2b4de1831639e80e3bb5d03484e17521

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260614001-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 767208a5ba43b32084eef8eef223263e18f8bbb94a4a8acbae699b740bae5b23
MD5 a6bb92d54038eab31bbff24af86ac300
BLAKE2b-256 cd129d98b8b405f39158c4ad85c2e624f964b9703706fb56028ab2af3dba4138

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260614001-cp310-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 ed4c49c13f02da15f8a7b8b9f83cc1689daf5d24968675355301a75d3aa2bf7d
MD5 b9dcc186f939ab3f2c94ef348832bf80
BLAKE2b-256 57dd09f737dea92d142a2b932cbab78722a631e68c63279e8edf1767f866053b

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