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 license, 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, focused 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.1a20260726001.tar.gz (763.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.15.1a20260726001-py3-none-manylinux_2_28_aarch64.whl (56.6 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

opendp-0.15.1a20260726001-cp310-abi3-win_amd64.whl (42.9 MB view details)

Uploaded CPython 3.10+Windows x86-64

opendp-0.15.1a20260726001-cp310-abi3-win32.whl (36.9 MB view details)

Uploaded CPython 3.10+Windows x86

opendp-0.15.1a20260726001-cp310-abi3-musllinux_1_2_x86_64.whl (58.1 MB view details)

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

opendp-0.15.1a20260726001-cp310-abi3-manylinux_2_28_x86_64.whl (47.1 MB view details)

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

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

opendp-0.15.1a20260726001-cp310-abi3-macosx_10_13_x86_64.whl (44.8 MB view details)

Uploaded CPython 3.10+macOS 10.13+ x86-64

File details

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

File metadata

  • Download URL: opendp-0.15.1a20260726001.tar.gz
  • Upload date:
  • Size: 763.2 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.1a20260726001.tar.gz
Algorithm Hash digest
SHA256 38617658f279c2691c62cdacb0c065120929c2d271ceaf3129bfcd518cba0d87
MD5 dd902548b746d2e4ec55b66f3d8f6cf7
BLAKE2b-256 9434a6462f7e5545cb5fc61e8e1f61237cdb7cb341b81289cf96577114b388d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260726001-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ee04a6f71810fe1e46b5495a993e97a42cf4186fc25d17816ecea364770c8f02
MD5 09f64880e6e2e8c642c266e736da9b1a
BLAKE2b-256 acbd51874ba296d612aa43acaca4901ecdd19f6aaedbbdd155fc4cfbf2fde523

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260726001-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b65b813719e785c12bb7f56c49fb9d1307240b648b03cea65d529bd659319da4
MD5 ac9cf1802a0118ce90f9748faa6867a1
BLAKE2b-256 1b7de8f5dde7b3c96d24f6229bce5c2fb436b56e5380dbee8f8f9226788d33b0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260726001-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 203eed0d0336d60c006dc7260ca90cba0910bb0ffada7c534c4b44524b72ce3c
MD5 9589d3af3e8dd6b4488f12e135406634
BLAKE2b-256 9eb4449b0f690c1d8685ac8d19c420fed55de31c4690fd7209919ebb2c90dd52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260726001-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 3ddc51add37987238c9e8626edd6928894d14bd5a43a0bf2142e76a14a99847a
MD5 440265f05a76d0ca4219b1be56f1e0a7
BLAKE2b-256 afaac014ebc31bd1859c1d1e254988cfb172226e70ffdb6551badc85e8d81df5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260726001-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f8491765ab478ad827982ea03073c6d3eaa85838c9087db3b95adb7df217724f
MD5 cde9b7a010e5fbd864a2ef9fd7a14a02
BLAKE2b-256 906371c5d395780d5257b87d5903163a0cf44f0db959caa68f34ffc527a9d9aa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260726001-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ac5eae9596f8ac19d60e12df5d74e4e51fe25232c7be9defbcd3ee4300e3eb00
MD5 06acd61c424e81cf2fb9787858a1bac2
BLAKE2b-256 addb950e7af32bceef8e9842a2e65ca5a09faf245b55fe47f847e0b9b3b68841

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260726001-cp310-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 48655d8a0b6f371af7e83f7f6600c088343eb28a41297c9ab03710c305e455f0
MD5 c58c3278471807f0ff1e54e512d9757f
BLAKE2b-256 072b8bcb4a957b4eb092354f883f0044986ce560961a42979943bc8092f37bf2

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