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


Release history Release notifications | RSS feed

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.14.2.dev20260512001.tar.gz (764.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.14.2.dev20260512001-py3-none-manylinux_2_28_aarch64.whl (52.2 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

opendp-0.14.2.dev20260512001-cp310-abi3-win_amd64.whl (45.7 MB view details)

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

opendp-0.14.2.dev20260512001-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.14.2.dev20260512001-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.14.2.dev20260512001-cp310-abi3-macosx_11_0_arm64.whl (47.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

opendp-0.14.2.dev20260512001-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.14.2.dev20260512001.tar.gz.

File metadata

  • Download URL: opendp-0.14.2.dev20260512001.tar.gz
  • Upload date:
  • Size: 764.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.14.2.dev20260512001.tar.gz
Algorithm Hash digest
SHA256 6083b93ffe5430db4ac04b456cd1ba36adefbd3a4e73607c29c5e2e13350733d
MD5 46ec324256338c50792792bbb0a1b848
BLAKE2b-256 3e69180ea9c5feec5c924405a01452dbb7de60c12529c3a7e5bcb673fc6c0e5e

See more details on using hashes here.

File details

Details for the file opendp-0.14.2.dev20260512001-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for opendp-0.14.2.dev20260512001-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3bff28eb113d9fdb2f5971767990369ccdb36014eda3b0740451aff901c190f4
MD5 6eade630119a56a79fe7babd5a7aad3f
BLAKE2b-256 c1faacee7bc85894437e51aa1aed15b42830d24480e0d5ae91a0812e6ce89399

See more details on using hashes here.

File details

Details for the file opendp-0.14.2.dev20260512001-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for opendp-0.14.2.dev20260512001-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 82ce59ffaf3dda5c35ab138104d24b5d64f90c724e0b9bd1b9959a336927814b
MD5 09618f94d3742b01e42b4beb977b1833
BLAKE2b-256 aa1ae8ac6eaad18440d2f3926d41ff3f608fab24416abd172d97c32d1c1e873f

See more details on using hashes here.

File details

Details for the file opendp-0.14.2.dev20260512001-cp310-abi3-win32.whl.

File metadata

File hashes

Hashes for opendp-0.14.2.dev20260512001-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 8682b80b7d85444380a0615451e2d5bf638c48876389ef9c17cc524f21edeae2
MD5 0f41f61d40b8add650a65bfcad2cdca5
BLAKE2b-256 b809ab2b95829188c0226ab03387418f19880d879e41f9823464727d4d24b65e

See more details on using hashes here.

File details

Details for the file opendp-0.14.2.dev20260512001-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for opendp-0.14.2.dev20260512001-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 e3a495b1307f55e50ea2ad877db36462d2e2bba83cb48ab9fa5d0dd0fc5f7943
MD5 4d873db99032645c9f4f41b40c46e61b
BLAKE2b-256 8cdd6d6d0a554907b99aa751bd3573d45b3a29718506d1e2a54b049ee23e6995

See more details on using hashes here.

File details

Details for the file opendp-0.14.2.dev20260512001-cp310-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for opendp-0.14.2.dev20260512001-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 36d2c8089c0b28f6001e70f84e3c587a1110c6c0c368f8ff5a855f423371d583
MD5 20d56d8e0ee20b6bbc2efab13a95393c
BLAKE2b-256 7b2f7bc417a57dc94b8d94c326ad84083cc42ca79b5c9f3d20a88a7f3b0efaab

See more details on using hashes here.

File details

Details for the file opendp-0.14.2.dev20260512001-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for opendp-0.14.2.dev20260512001-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2ecd0769a9e891051d9ca7e2b572d695e26764e6cbb1800c33fb19fe0e341650
MD5 b4d7c1268d2a1406de0d25659970f838
BLAKE2b-256 1811bef202475d6a05dd2a151448c4d8c3175bc4db7b3aa7f5ca7d92a4497c0b

See more details on using hashes here.

File details

Details for the file opendp-0.14.2.dev20260512001-cp310-abi3-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for opendp-0.14.2.dev20260512001-cp310-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 4f90f22a91235f319161f4c49933d3a887e0edc81c55784841f25586f48567d4
MD5 f9b9310afb805241f3ca919b981a0bee
BLAKE2b-256 45495f0bcaaaf865a1a766c5121cbe84078ee790c2abc49bf5754daa38dda509

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