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

Uploaded Python 3manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

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

File metadata

  • Download URL: opendp-0.15.1b20260528001.tar.gz
  • Upload date:
  • Size: 757.6 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.1b20260528001.tar.gz
Algorithm Hash digest
SHA256 00e91781a9f2b4bd5a5400dc33aed608c9e1b1cd6bba40a01e57f212f939e696
MD5 9d076afe1e7067af5c52ce8999c327dd
BLAKE2b-256 b6a9414c730eb001604e012c435b521c3e712dc6ec62b9c5ee85e47862e7455c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1b20260528001-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 00202ae0235691643590063853731bbe868d3cda1d641bd6474a5065d13f3cbd
MD5 7746b56c5b0bde5ae6d50f6146facc95
BLAKE2b-256 a51311897eb9041af802e8be28722c20866ededa7f785444a5b1fb8bad63319d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1b20260528001-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2eb5eef0160fd374579c7f29314fa0e3cd0f7101f42ca6c82f7679a290a8461b
MD5 a140f5b0c3c65065e729be80c5b8c75b
BLAKE2b-256 8053a8ab415eba6d40fdd064f9531f32bbe09be295674d6fd381eda76ac43c38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1b20260528001-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 4d3c72ab227db3ff76436e8a07140c8587bca793d819f80f9383badc71605341
MD5 380c17ae9d41ac6afb6df768550bb916
BLAKE2b-256 863263a0f0b184ee65813d3c7b0fed4263cf18cc6502a8a88a018ddc8c12421e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1b20260528001-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ab971f0359796b269064d7e4d236ed9daabd2f9e62411560f2619c79e2f6a023
MD5 6c371eaed1438ae148c11be1303733dd
BLAKE2b-256 debcd7f9fb2e3093651a9061150b0795417758b87bb923602bb5ba3cdb3dfbc9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1b20260528001-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 49d1d6c0005976d1faf3d7dc140504cab6fa0a780f93d27c1c2a635345c3a4cd
MD5 c4f1510a092109b2dc6855443359daa3
BLAKE2b-256 e12d99475150de51abff55e2cb1c35ed78fb330f971489a56221a89acb788cf3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1b20260528001-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fc2357815d6ced04919f73fbef2c7cf4ef69c6eca39750d8eaaa37ed6875f2a4
MD5 6d1ae06def1d81930f00e3cbe3fb1dd0
BLAKE2b-256 30a6791d78c33c9776300922a743700fa6c6fe98ddd10a9214985abf76377fbb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1b20260528001-cp310-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 41111e91315dc8de17d702b9ff457c942da9b1947ddc57c5a61a7463a1d48f33
MD5 88b76a8bffcc65c38757db193e4132d8
BLAKE2b-256 037b240984833d34e4d30b75273418f45901cd2b7666656fc8cad1d89f578eb6

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