concrete-python-1.0.0
توضیحات
A state-of-the-art homomorphic encryption framework
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | concrete-python-1.0.0 |
| نام | concrete-python |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Zama |
| ایمیل نویسنده | hello@zama.ai |
| آدرس صفحه اصلی | https://github.com/zama-ai/concrete/tree/main/frontends/concrete-python |
| آدرس اینترنتی | https://pypi.org/project/concrete-python/ |
| مجوز | BSD-3-Clause |
# Python Frontend
## Setup for development
```shell
# clone the repository
git clone https://github.com/zama-ai/concrete.git
cd concrete
# create virtual environment
cd frontends/concrete-python
make venv
# activate virtual environment
source .venv/bin/activate
# build the compiler bindings
cd ../../compilers/concrete-compiler/compiler
make python-bindings
# set bindings build directory as an environment variable
export COMPILER_BUILD_DIRECTORY=$(pwd)/build
echo "export COMPILER_BUILD_DIRECTORY=$(pwd)/build" >> ~/.bashrc
# run tests
cd ../../../frontends/concrete-python
make pytest
```
نیازمندی
| مقدار | نام |
|---|---|
| >=2.6 | networkx |
| >=1.23 | numpy |
| >=1.10 | scipy |
| >=1.13 | torch |
| ==2.10.4 | pybind11 |
| ==4.0.0 | pytest-cov |
| ==3.2.1 | pytest-xdist |
| ==7.2.2 | pytest |
| ==23.1.0 | black |
| ==5.12.0 | isort |
| ==1.1.1 | mypy |
| ==6.3.0 | pydocstyle |
| ==2.17.1 | pylint |
| ==0.0.259 | ruff |
| ==0.40.0 | wheel |
| ==0.10.4 | delocate |
| ==5.3.0 | auditwheel |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl concrete-python-1.0.0:
pip install concrete-python-1.0.0.whl
نصب پکیج tar.gz concrete-python-1.0.0:
pip install concrete-python-1.0.0.tar.gz