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


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

Uploaded Python 3manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

opendp-0.15.0-cp310-abi3-musllinux_1_2_x86_64.whl (54.0 MB view details)

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

opendp-0.15.0-cp310-abi3-manylinux_2_28_x86_64.whl (51.1 MB view details)

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

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

opendp-0.15.0-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.0.tar.gz.

File metadata

  • Download URL: opendp-0.15.0.tar.gz
  • Upload date:
  • Size: 757.1 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.0.tar.gz
Algorithm Hash digest
SHA256 d54e7bd1add5c14a0b73e4e91aebe6f6bedc55b7287b4465d5789dcbc4d441f7
MD5 5870183355d15ca5b52151d7f1d6ff58
BLAKE2b-256 87ccde955ef0bd4a1e7c9c68ea1880375925045623783b8b12addb0b13feabfc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fdc46d8a6866af1e928f6f38945879bc553d29dc0dd98db60ae92629838f93bd
MD5 b6bdc829d5b01b38179f923121110bb1
BLAKE2b-256 0d3cbb38b9f03ee0bf7dd3a4bc9948c72581fd379ea26e6773892734c2541acb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opendp-0.15.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 45.9 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.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2ca61575ed47970874cdb925ddf8467fa9248506c80ad42d1e49a392494ca7dd
MD5 83e3602f137002aefce000c1a3611837
BLAKE2b-256 88e88db2d0c702ea76e38c502efe91c00be30d1b7011fbe868234871ba7dae94

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opendp-0.15.0-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.0-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 5bd66fb0c550e9c54f7150720b99986151ed462c72a96ac6ddca0797cd27c81d
MD5 7d611557fb9bf6fd5cf6daefc851b6a0
BLAKE2b-256 25a9db93031a060d62209542ba7e357e6fc83478de9fb1bbc1f05a66c61ea2c1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.0-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f653bbf2ac2b1d1890ef35f4a19eca7e6a985bf5011505e2eea8a169f87cfa34
MD5 68d5c77d2694ec6b21f8d0300ed8f152
BLAKE2b-256 23112c1fbff9c83ddd8ed3ea0e2f401c06efecb921d89c198087a93bd92053a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.0-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3ae96a1469cf68f006ceba5884b26b902e62841af5768f0356e7a9ee620ff9a5
MD5 a05f5f77eeae5e231e12583ba9d7acb5
BLAKE2b-256 69057c7b7a160c86c5834db90ed68ffcb173fa8e85ce6180d3d142d2059ec97c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a8fda7282a43ae6eabe1427b4b9ade028926d1b85b9bc59112ee1d003fa5edf5
MD5 affa732aca21b59fa7051e777ce69334
BLAKE2b-256 f5b0750f2416da978cc6df1cc99c3cede4e73e9290461b1509c45ad8963ffa19

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.0-cp310-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 56521d69838982915a7fd5d9a4856a0cadc9847d5ef6309ade4a5dc866d28ce8
MD5 0b7494f178d3a6edf219420c43af7531
BLAKE2b-256 dd75967b6b1cf7a6acd7de3ccdb3d40cb9f15ff62da9434ca7546600ca51240c

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