Metadata-Version: 2.1
Name: concrete-python
Version: 1.0.0
Summary: A state-of-the-art homomorphic encryption framework
Home-page: https://github.com/zama-ai/concrete/tree/main/frontends/concrete-python
Author: Zama
Author-email: hello@zama.ai
License: BSD-3-Clause
Keywords: fhe,homomorphic,encryption,tfhe,privacy,security
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Security :: Cryptography
Classifier: Topic :: Software Development :: Compilers
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: networkx (>=2.6)
Requires-Dist: numpy (>=1.23)
Requires-Dist: scipy (>=1.10)
Requires-Dist: torch (>=1.13)
Provides-Extra: dev
Requires-Dist: pybind11 (==2.10.4) ; extra == 'dev'
Requires-Dist: pytest-cov (==4.0.0) ; extra == 'dev'
Requires-Dist: pytest-xdist (==3.2.1) ; extra == 'dev'
Requires-Dist: pytest (==7.2.2) ; extra == 'dev'
Requires-Dist: black (==23.1.0) ; extra == 'dev'
Requires-Dist: isort (==5.12.0) ; extra == 'dev'
Requires-Dist: mypy (==1.1.1) ; extra == 'dev'
Requires-Dist: pydocstyle (==6.3.0) ; extra == 'dev'
Requires-Dist: pylint (==2.17.1) ; extra == 'dev'
Requires-Dist: ruff (==0.0.259) ; extra == 'dev'
Requires-Dist: wheel (==0.40.0) ; extra == 'dev'
Requires-Dist: delocate (==0.10.4) ; (sys_platform == "darwin") and extra == 'dev'
Requires-Dist: auditwheel (==5.3.0) ; (sys_platform == "linux") and extra == 'dev'

# 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
```
