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

Uploaded Python 3manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

opendp-0.15.1a20260705001-cp310-abi3-musllinux_1_2_x86_64.whl (53.8 MB view details)

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

opendp-0.15.1a20260705001-cp310-abi3-manylinux_2_28_x86_64.whl (50.9 MB view details)

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

opendp-0.15.1a20260705001-cp310-abi3-macosx_11_0_arm64.whl (47.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

opendp-0.15.1a20260705001-cp310-abi3-macosx_10_13_x86_64.whl (50.1 MB view details)

Uploaded CPython 3.10+macOS 10.13+ x86-64

File details

Details for the file opendp-0.15.1a20260705001.tar.gz.

File metadata

  • Download URL: opendp-0.15.1a20260705001.tar.gz
  • Upload date:
  • Size: 759.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for opendp-0.15.1a20260705001.tar.gz
Algorithm Hash digest
SHA256 f4824e7ab209a6cc9cc9c65ffd970074627f08b0b45059ed81e567c71bfb10de
MD5 cacd48c0b83f7853b620942a41167b78
BLAKE2b-256 ad780faad0aaeae25313db4730146a157a5fe475447438e015a9885b5748da6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260705001-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0131286dbfd4a28f714aae8e3563e25c00e5c3a3aff8f1c106b575fc69000d41
MD5 3b384ce88127bc1b4c951a254e089f54
BLAKE2b-256 0c2e1e9089b4b9a3a7100b8584d6a27715b0e40d86b223a83cce8017cac0475d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260705001-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b2d05f1808763532bfab213cbff8b45b1a0cae0ed96fe64a0a4c80d686dc5bb0
MD5 1d388b7d7e42af8d2bfd01a7a267f6a1
BLAKE2b-256 854b9637ccb41f18242a4c755f76f6c452a810df9f810cd4fc792e1d9d244fd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260705001-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 4380f619c626813ac97d88fd2187e8de846f4a38f7722c600b476d5c835adf60
MD5 806913ad053e3d7e87f0d86ff216634e
BLAKE2b-256 73d4967936c82e53b12d010947b55a54b498f2f43da0049d175c9395ba1000e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260705001-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f33f2c390087bff354e495aac7cd8b88f06f976f769fd2b44972c5b431d90748
MD5 21669734b8e485da4d8f49485356ccf8
BLAKE2b-256 33b4b1bddda28876bea606ae3dbe9dfc01606be44cf0a69bef85319cb69406e6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260705001-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9ee4ad079897c4d3928dc2bcde55856a403be6695a5b69e14ac0097c32d935a7
MD5 dfbdd20078d886f261ceac9d13730261
BLAKE2b-256 0bee1240de5cb1d644b5122ac7f0435e0ffd93ad6cc09d91a690e4fb27d3ae29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260705001-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c4d8c02e0dc080c0c145bc50ae4ec7e53fb29f7cc1c39c4a497c7eb217f0c515
MD5 04e0ec511950410b24d9282fbd1748e3
BLAKE2b-256 9c771858b03aa2af74d00a84d59762c245e2849484e0453b4c28a3ad85d4c8c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260705001-cp310-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 d29805c65fe00f776c5cdd34510d5c02b323126d38fe76ce5633ff28e78c22d4
MD5 32c45eb8e10542966ae7d768bbecfc00
BLAKE2b-256 4e5268855208b646c3ffe33678f2bdc85ac95b74934fe1bf79a837487140f33e

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