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

Uploaded Python 3manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

opendp-0.15.1a20260621001-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.15.1a20260621001.tar.gz.

File metadata

  • Download URL: opendp-0.15.1a20260621001.tar.gz
  • Upload date:
  • Size: 758.5 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.1a20260621001.tar.gz
Algorithm Hash digest
SHA256 075db7ce5af9c58d5ea7c1c37ac6024ff638748f621059fa945c04aef44a1d47
MD5 9fca2f8153f05be277b4f612725b5fa7
BLAKE2b-256 f33052333448216a147ff78f261e8006d242236f024056c5179afd3490f1f5b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260621001-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 89e73f24e495e97953e98f4981887c732dddcb799ebc998f44c9d0e6b08d0512
MD5 1d7b1221dc60a8d20a8e73a21f224025
BLAKE2b-256 6df9967159c25f109635b4c3954693d62191a179b9eeaa3bf57bf00781b13aeb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260621001-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 7e60534287416f4fcac897a205ea2c42550f213367131db050a6dfe85aa3dc9f
MD5 fdd1a3d45e729ed2681e6754a6d6603e
BLAKE2b-256 92530c1fdb2aac3cd881df8cad16e15d1528a32c69a0fb1a9c46328ed598d8c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260621001-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 b8bbb41d74f8d239119e45614f66f9a0b010903b5fdae3beb5b944647690f189
MD5 777214cc281d52d91a265fad846ef7d4
BLAKE2b-256 97e2d83496fb8ef01079d6a5ecb06b64731b43c4c6156dd72d0ece3a6593be23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260621001-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 1a4f09aa1b9712c79fbccfe930d9aa92ffe234389a42a1c030c8e5938bf93d4d
MD5 6b23ee33611cc4b15144819db45e4dc7
BLAKE2b-256 c961115bc9238e8d42183e69f9998b8019ffdf5a672c860f08196df173697510

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260621001-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b891a210dd82fc59f0cda183946be9c6d8e2064837fdffeb7a2cb34a640075a0
MD5 4898b8ad234fe5dace9b3166e15c52d0
BLAKE2b-256 6cb17614b0cc741c46145cdaffc50b3f783c6a05a334e7ce9420eb426ff20827

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260621001-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d017ddeba6b591d446818066ce837667998d7a9e3afc97156743fc101aa15535
MD5 a84041f57d8e9b5e5a15dd2e58ae8d86
BLAKE2b-256 1b4d9ad654b1e1c44ea0a92d053d63a05061cc541b17c4c8f452f6edd6d917af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260621001-cp310-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 4234f6dfecfbb5b0fdda58debaee28fba60748f522d001b5f90899c022c470a8
MD5 b4e9d6800a34db96fe9d472ef9aa68f7
BLAKE2b-256 ae3cf4f82d32a4812b274e557813f6af4b12f3056dec342aa0672f1e31e12782

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