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.1a20260712001.tar.gz (759.4 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.1a20260712001-py3-none-manylinux_2_28_aarch64.whl (56.8 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+Windows x86

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

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

File metadata

  • Download URL: opendp-0.15.1a20260712001.tar.gz
  • Upload date:
  • Size: 759.4 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.1a20260712001.tar.gz
Algorithm Hash digest
SHA256 f63e9a8071ecc3e3aec860321b306c766cbdd175b3debd6012b98306d9f1dcb3
MD5 5fb06974f5240aa4f1345e142148a2dd
BLAKE2b-256 b2f3a9789f749bb2aa81ce3469a61d7a0355944308996246fdffec4ce8034b70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260712001-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4729add3fbdabe104793d862716b15fe6813399ee9b01ccd2eee003aa9573b0d
MD5 f924beb324b34eb0a01ba350dec2905a
BLAKE2b-256 eb2d5bb8d1cf8f5bf61b3a4628807a3735d3389e71d3bb49dd49c66800ddf453

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260712001-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2499828ecfda11ef7c38318d4f67f85d362c3b3ae4a639d0783508811e9e9a46
MD5 e18a7b8864663daffff18b35bef5c562
BLAKE2b-256 d20c9c194200e8004f053d6930937d4836fa49b15eb2c322095b137e129299c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260712001-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 743821f119764f19b5dd3116318a7a3ff9e83636c69f370646fb9cd99adf363c
MD5 016d00cd1f6cc3f57e4fede3a7e5c8a9
BLAKE2b-256 1960b1c11b17e66ed4af0dbd7e6fa6b7a925a3b4b8e5c886535a67a67cd83d92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260712001-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 02469db6dedba2df5a4b2c1f99ec049ff25777be070be537b228561fd09e98ad
MD5 1275d181e3cdf9ce4ecea96a150fa0ea
BLAKE2b-256 ca6bb88cfb476a924d113a2004414b5cb04333a5e970e48275c7d69f7ed24d9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260712001-cp310-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f53c7af2e390d5cb5c53b383cfcecc56aebd8e5ab3315419abe3910f757f0020
MD5 fb212782d745917f93e501ddfebf5548
BLAKE2b-256 d097dacf447b9a9b9dd723d6267970786489b3e1dfa3c676e96ebc7ffc18715d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260712001-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bb3b50febd94223546809669bfff7e87ac2a6e158f91a59e62ab0581fccf0458
MD5 c8f9aefe4dabfebc753fdcb8f2ef9b4b
BLAKE2b-256 ce2dbe3da509af6a1e94e26edb5d54a4e5ebed228f979113b1a563d05d5f8aa7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opendp-0.15.1a20260712001-cp310-abi3-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 03da8f84f362e070fda5a26c4ec885f2e0e15de49e7c76ad6eac510c91eaf2a9
MD5 9413814d0ff128a42758cf06f3ba37c2
BLAKE2b-256 4052c795471e42ceb99ed5b1b781deab72d8deae29ee6422cb12899f95a74517

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