{"id":19811080,"url":"https://github.com/accenture/pyheal","last_synced_at":"2026-03-03T17:06:18.658Z","repository":{"id":139880940,"uuid":"198996657","full_name":"Accenture/pyheal","owner":"Accenture","description":"PyHeal is a Python wrapper for Microsoft SEAL aimed at making operations easier to use.","archived":false,"fork":false,"pushed_at":"2020-04-23T03:47:30.000Z","size":66,"stargazers_count":15,"open_issues_count":5,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-08T23:14:10.727Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Accenture.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2019-07-26T10:20:13.000Z","updated_at":"2023-10-25T10:31:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"99af8ce3-6721-40a7-b824-d6c49ea3d4db","html_url":"https://github.com/Accenture/pyheal","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Accenture/pyheal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Accenture%2Fpyheal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Accenture%2Fpyheal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Accenture%2Fpyheal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Accenture%2Fpyheal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Accenture","download_url":"https://codeload.github.com/Accenture/pyheal/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Accenture%2Fpyheal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30052284,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T15:26:47.567Z","status":"ssl_error","status_checked_at":"2026-03-03T15:26:17.132Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-12T09:24:40.146Z","updated_at":"2026-03-03T17:06:18.635Z","avatar_url":"https://github.com/Accenture.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyHeal\n![PyHEAL Package](https://github.com/Accenture/pyheal/workflows/PyHEAL%20Package/badge.svg)\n\nThis project implements Python wrappers for Homomorphic Encryption libraries, aimed at being more Python friendly.\n\nIt currently contains:\n- A pybind11 based Python wrapper for [Microsoft SEAL](https://github.com/CJRChang/SEAL) in `seal_wrapper`\n- A Pythonic wrapper for `seal_wrapper` in `pyheal/wrapper.py`\n- A Python ciphertext type of object that allows math operations as if they were python numbers in `pyheal/ciphertext_op.py`\n- A standard encoder/decoder interface for seal encoders and encryptors for use of the `CiphertextOp` objects in `pyheal/encoders.py`.\n     \n\nTests:\n- A partial re-implementation of [Microsoft SEAL's examples](https://github.com/CJRChang/SEAL) using `wrapper.py` in `tests.py`\n- A large number of tests for PyHEAL and `CiphertextOp` in `pyheal/test_pyheal.py` \n\n\n# Setup\nClone using:\nGit v2.13+: `git clone --recurse-submodules https://github.com/Accenture/pyheal.git`\n\nGit v1.6.5 - v2.12: `git clone --recursive https://github.com/Accenture/pyheal.git`\n\nFor a repository that has already been cloned or older versions of git run:\n`git submodule update --init --recursive`\n\n## Build\nThis project can be built directly using `pip3`.\nOptionally create and activate a new Python virtual environment using `virtualenv` first, for example:\n```bash\npython3 -m virtualenv ./venv --python python3\n\n#Linux\nsource ./venv/bin/activate\n\n#Windows\n#venv\\Scripts\\activate\n```\n\nInstall dependencies and package:\n```bash\npip3 install .\n```\n\n# Usage\n```python\nimport pyheal\n\n\n# Set encryption params + obtain an EncryptorOp object\n...\nencryptor = EncryptorOp(...)\ndecryptor = Decryptor(...)\n\nv1 = encryptor.encode(10)\nv2 = encryptor.encode(20)\n\nresult = v1 + v2\n\nprint(decryptor.decrypt(result)) # Prints 30 after decrypt \n\n```\nSee [example_usage.py](example_usage.py) for more usage examples.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccenture%2Fpyheal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faccenture%2Fpyheal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faccenture%2Fpyheal/lists"}