{"id":28458762,"url":"https://github.com/openmined/pydp","last_synced_at":"2026-05-11T10:04:46.604Z","repository":{"id":38822710,"uuid":"208594579","full_name":"OpenMined/PyDP","owner":"OpenMined","description":"The Python Differential Privacy Library. Built on top of: https://github.com/google/differential-privacy","archived":false,"fork":false,"pushed_at":"2026-05-08T14:35:57.000Z","size":4978,"stargazers_count":547,"open_issues_count":59,"forks_count":142,"subscribers_count":15,"default_branch":"dev","last_synced_at":"2026-05-08T16:38:27.257Z","etag":null,"topics":["cpp","differential-privacy","hacktoberfest","python","python-wrapper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenMined.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"openmined"}},"created_at":"2019-09-15T12:58:45.000Z","updated_at":"2026-05-08T14:37:28.000Z","dependencies_parsed_at":"2023-10-14T21:20:58.427Z","dependency_job_id":"777bbfbe-6143-4014-bfea-ce95dc75503d","html_url":"https://github.com/OpenMined/PyDP","commit_stats":{"total_commits":545,"total_committers":61,"mean_commits":8.934426229508198,"dds":0.6348623853211008,"last_synced_commit":"a840a979f80223cc2c4276296e8efe7f6952cec8"},"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"purl":"pkg:github/OpenMined/PyDP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2FPyDP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2FPyDP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2FPyDP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2FPyDP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenMined","download_url":"https://codeload.github.com/OpenMined/PyDP/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2FPyDP/sbom","scorecard":{"id":105426,"data":{"date":"2025-08-11","repo":{"name":"github.com/OpenMined/PyDP","commit":"01620d5553cc2e6f54b47bc748498f3eb156543c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":4,"reason":"Found 9/21 approved changesets -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build-docs.yml:1","Warn: no topLevel permission defined: .github/workflows/publish-docker.yml:1","Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Warn: no topLevel permission defined: .github/workflows/test-docker.yml:1","Warn: no topLevel permission defined: .github/workflows/tests.yml:1","Warn: no topLevel permission defined: .github/workflows/versions.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-docs.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/build-docs.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-docs.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/build-docs.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-docs.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/build-docs.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build-docs.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/build-docs.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-docs.yml:91: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/build-docs.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build-docs.yml:107: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/build-docs.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-docker.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/publish-docker.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish-docker.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/publish-docker.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/publish.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/publish.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/publish.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/publish.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/publish.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/publish.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:131: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/publish.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-docker.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/test-docker.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test-docker.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/test-docker.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/tests.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/tests.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/tests.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/tests.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/tests.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/tests.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/tests.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:102: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/tests.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:149: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/tests.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/versions.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/versions.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/versions.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/versions.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/versions.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/versions.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/versions.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/versions.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/versions.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/versions.yml/dev?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/versions.yml:70: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/versions.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/versions.yml:81: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/versions.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/versions.yml:100: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/versions.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/versions.yml:147: update your workflow using https://app.stepsecurity.io/secureworkflow/OpenMined/PyDP/versions.yml/dev?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:3","Warn: pipCommand not pinned by hash: Dockerfile:43-44","Warn: pipCommand not pinned by hash: Dockerfile:43-44","Warn: pipCommand not pinned by hash: prereqs_linux.sh:34","Warn: pipCommand not pinned by hash: prereqs_mac.sh:45","Warn: pipCommand not pinned by hash: .github/workflows/build-docs.yml:54","Warn: pipCommand not pinned by hash: .github/workflows/build-docs.yml:58","Warn: pipCommand not pinned by hash: .github/workflows/build-docs.yml:85","Warn: pipCommand not pinned by hash: .github/workflows/publish.yml:70","Warn: pipCommand not pinned by hash: .github/workflows/publish.yml:119","Warn: pipCommand not pinned by hash: .github/workflows/publish.yml:123","Warn: pipCommand not pinned by hash: .github/workflows/publish.yml:155","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:36","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:137","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:141","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:173","Warn: pipCommand not pinned by hash: .github/workflows/versions.yml:34","Warn: pipCommand not pinned by hash: .github/workflows/versions.yml:135","Warn: pipCommand not pinned by hash: .github/workflows/versions.yml:139","Warn: pipCommand not pinned by hash: .github/workflows/versions.yml:172","Info:   0 out of  28 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   7 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of  19 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":0,"reason":"47 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2024-48 / GHSA-fj7x-q9j7-g6q6","Warn: Project is vulnerable to: PYSEC-2024-230 / GHSA-248v-346w-9cwc","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: GHSA-3ww4-gg4f-jr7f","Warn: Project is vulnerable to: PYSEC-2024-225 / GHSA-6vqw-3v5j-54x4","Warn: Project is vulnerable to: GHSA-9v9h-cgj8-h64p","Warn: Project is vulnerable to: GHSA-h4gh-qq45-vh27","Warn: Project is vulnerable to: PYSEC-2023-254 / GHSA-jfhm-5ghh-2f97","Warn: Project is vulnerable to: GHSA-jm77-qphf-c4w8","Warn: Project is vulnerable to: GHSA-v8gr-m533-ghj9","Warn: Project is vulnerable to: GHSA-6673-4983-2vx5","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: GHSA-gmj6-6f8f-6699","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: GHSA-33p9-3p43-82vq","Warn: Project is vulnerable to: GHSA-4qhp-652w-c22x","Warn: Project is vulnerable to: PYSEC-2023-157 / GHSA-64x5-55rw-9974","Warn: Project is vulnerable to: PYSEC-2023-272 / GHSA-h56g-gq9v-vc8r","Warn: Project is vulnerable to: PYSEC-2024-165 / GHSA-hrw6-wg82-cm62","Warn: Project is vulnerable to: PYSEC-2023-155 / GHSA-r726-vmfq-j9j3","Warn: Project is vulnerable to: GHSA-44cc-43rp-5947","Warn: Project is vulnerable to: GHSA-4m77-cmpx-vjc4","Warn: Project is vulnerable to: GHSA-9q39-rmj3-p4r2","Warn: Project is vulnerable to: GHSA-3f63-hfp8-52jq","Warn: Project is vulnerable to: GHSA-44wm-f244-xhp3","Warn: Project is vulnerable to: GHSA-j7hp-h8jx-5ppr","Warn: Project is vulnerable to: PYSEC-2023-175","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2024-110 / GHSA-jw8x-6495-233v","Warn: Project is vulnerable to: PYSEC-2023-102","Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: GHSA-753j-mpmx-qq6g","Warn: Project is vulnerable to: GHSA-7cx3-6m66-7c5m","Warn: Project is vulnerable to: GHSA-8w49-h785-mj3c","Warn: Project is vulnerable to: GHSA-qppv-j76h-2rpx","Warn: Project is vulnerable to: GHSA-w235-7p84-xx57","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2024-187 / GHSA-rqc4-2hc7-8c8v","Warn: Project is vulnerable to: GHSA-jfmj-5v4g-7637"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 19 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T11:00:04.103Z","repository_id":38822710,"created_at":"2025-08-15T11:00:04.103Z","updated_at":"2025-08-15T11:00:04.103Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32889974,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","differential-privacy","hacktoberfest","python","python-wrapper"],"created_at":"2025-06-07T00:39:44.159Z","updated_at":"2026-05-11T10:04:46.598Z","avatar_url":"https://github.com/OpenMined.png","language":"Python","funding_links":["https://github.com/sponsors/openmined"],"categories":[],"sub_categories":[],"readme":"![Tests](https://img.shields.io/github/workflow/status/OpenMined/PyDP/Tests)\n![Version](https://img.shields.io/github/v/tag/OpenMined/PyDP?color=green\u0026label=pypi)\n![License](https://img.shields.io/github/license/OpenMined/PyDP)\n\n# PyDP\n\nIn today's data-driven world, more and more researchers and data scientists\nuse machine learning to create better models or more innovative solutions for\na better future.\n\nThese models often tend to handle sensitive or personal data, which can cause\nprivacy issues. For example, some AI models can memorize details about\nthe data they've been trained on and could potentially leak these details later\non.\n\nTo help measure sensitive data leakage and reduce the possibility of it\nhappening, there is a mathematical framework called differential privacy.\n\nIn 2020, OpenMined created a Python wrapper for Google's [Differential\nPrivacy](https://github.com/google/differential-privacy) project called PyDP.\nThe library provides a set of ε-differentially private algorithms, which can be\nused to produce aggregate statistics over numeric data sets containing private\nor sensitive information. Therefore, with PyDP you can control the privacy\nguarantee and accuracy of your model written in Python.\n\n**Things to remember about PyDP:**\n\n- :rocket: Features differentially private algorithms including: BoundedMean,\nBoundedSum, Max, Count Above, Percentile, Min, Median, etc.\n  - All the computation methods mentioned above use Laplace noise only (other\nnoise mechanisms will be added soon! :smiley:)\n- :fire: Compatible with all three types of Operating Systems - Linux, macOS, and Windows :smiley:\n- :star: Use Python 3.x.\n\n## Installation\n\nTo install PyDP, use the [PyPI](https://pip.pypa.io/en/stable/) package manager:\n\n```bash\npip install python-dp\n```\n\n(If you have `pip3` separately for Python 3.x, use `pip3 install python-dp`.)\n\n## Examples\n\nRefer to the\n[curated list](https://github.com/OpenMined/PyDP/tree/dev/examples)\nof tutorials and sample code to learn more about the PyDP library.\n\nYou can also get started with\n[an introduction to PyDP](https://github.com/OpenMined/PyDP/blob/dev/examples/Tutorial_1-carrots_demo/carrots_demo.ipynb)\n(a Jupyter notebook) and\n[the carrots demo](https://github.com/OpenMined/PyDP/blob/dev/examples/Tutorial_1-carrots_demo/carrots.py)\n(a Python file).\n\nExample: calculate the Bounded Mean\n\n```python\n# Import PyDP\nimport pydp as dp\n# Import the Bounded Mean algorithm\nfrom pydp.algorithms.laplacian import BoundedMean\n\n# Calculate the Bounded Mean\n# Basic Structure: `BoundedMean(epsilon: float, lower_bound: Union[int, float, None], upper_bound: Union[int, float, None])`\n# `epsilon`: a Double, between 0 and 1, denoting the privacy threshold,\n#            measures the acceptable loss of privacy (with 0 meaning no loss is acceptable)\nx = BoundedMean(epsilon=0.6, lower_bound=1, upper_bound=10)\n\n# If the lower and upper bounds are not specified,\n# PyDP automatically calculates these bounds\n# x = BoundedMean(epsilon: float)\nx = BoundedMean(0.6)\n\n# Calculate the result\n# Currently supported data types are integers and floats\n# Future versions will support additional data types\n# (Refer to https://github.com/OpenMined/PyDP/blob/dev/examples/carrots.py)\nx.quick_result(input_data: list)\n```\n\n## Learning Resources\n\nGo to [resources](https://github.com/OpenMined/PyDP/blob/dev/resources.md)\nto learn more about differential privacy.\n\n## Attack Model\n\nPlease refer to the\n[attack model](https://github.com/google/differential-privacy/blob/main/common_docs/attack_model.md)\nof the underlying Google Differential Privacy Library to learn\nmore about our assumptions and requirements for using PyDP in\na safe way.\n\n## Support and Community on Slack\n\nIf you have questions about the PyDP library, join\n[OpenMined's Slack](https://slack.openmined.org) and check the\n**#lib_pydp** channel. To follow the code source changes, join\n**#code_dp_python**.\n\n## Contributing\n\nTo contribute to the PyDP project, read the\n[guidelines](https://github.com/OpenMined/PyDP/blob/dev/contributing.md).\n\nPull requests are welcome. If you want to introduce major changes, please\nopen an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n\u003c!-- ## Contributors --\u003e\n\n## License\n[Apache License 2.0](https://choosealicense.com/licenses/apache-2.0/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmined%2Fpydp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenmined%2Fpydp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmined%2Fpydp/lists"}