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

Uploaded Python 3manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

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

File metadata

  • Download URL: opendp-0.15.1a20260528001.tar.gz
  • Upload date:
  • Size: 757.7 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.1a20260528001.tar.gz
Algorithm Hash digest
SHA256 580d7b25fd9ee90d7a240f0e35c1eefc177eacdf6a14ddf45767ef6a76db3f9e
MD5 00ed68b6371cb76910c94e3f8394a680
BLAKE2b-256 084cb034f3b9bc119749f1689325d78ba98c76dbaf56954c1d45810fc0107db4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260528001-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 634350926320df85e46b48430eb1d404fe1c73625de7faf5273c3e3182b51b18
MD5 476cfbc59d397549b28617d56f42ec20
BLAKE2b-256 df5cd9a8ddda8eec6e2d9b09369eb1d9c08b1136366850390bc1fd3770304595

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260528001-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 14228c69703e5857c0c4174ad82d8888567815791e1b4f674cd758a89bbb2b86
MD5 54f575500028f1acf9359cb9c4ffef9f
BLAKE2b-256 7a0fdc64c9e2f1eb873bafe02b49d815403b1d3992e5e3c9edf5a4c9c79cf4a6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260528001-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 761782e6fd3931c4fa19c6b218ac711fc50271b505bd60a80d0424a31571cb00
MD5 5429eaaf32435608bc550c5ef201e728
BLAKE2b-256 b28e7b51b552dfb08140718bef5157ede47f5430cdb81ba48d7c574b31891f00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260528001-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d272d7ec09d3922314f8ccd78de762d13229b4597c03216260a77c8b697cab28
MD5 856ec668e04de5494d7f9cc5b5acb907
BLAKE2b-256 43e25e27627b9af002c0d8443ff1ee3d0708f6cda7b831b152ff145a9bf69e1c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260528001-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4cfe3dff960ccd6a9b67394b3d9c0db6c77b1e8c7b2d8c04b30db6b5f53be271
MD5 1be961060c0652fbefb80aaf1f22f1f3
BLAKE2b-256 362aa0caafa650c2b5ef2e8b62766d9df393aff857cd349b460f4a248f9891ff

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260528001-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fc9f3caade5ada1647ee8770dfeec94c3f1886c3841f6c7ea2a247b9a1a99207
MD5 a7d31849327e436df940ff7bba49ed05
BLAKE2b-256 c52fcb13861c845cc1681f85beeb60daf0ffc41f395c8aa10483320029d4f641

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260528001-cp310-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 2adc0afc2e32f07f4a4257115d52488bd3ea21b792443c9e5894f15931d24e6d
MD5 357c40acd09f4f22370c2e57c567489c
BLAKE2b-256 670a3d87133de679f6bc397908d109cde7b11112602517cd656e5b0c46ac4c2f

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