Skip to main content

A state-of-the-art homomorphic encryption framework

Project description

Python Frontend

Setup for development

# 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

concrete_python-1.0.0-cp310-cp310-manylinux_2_28_x86_64.whl (61.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

concrete_python-1.0.0-cp310-cp310-macosx_11_0_x86_64.whl (47.7 MB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

concrete_python-1.0.0-cp310-cp310-macosx_11_0_arm64.whl (41.4 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

concrete_python-1.0.0-cp39-cp39-manylinux_2_28_x86_64.whl (61.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

concrete_python-1.0.0-cp39-cp39-macosx_11_0_x86_64.whl (47.7 MB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

concrete_python-1.0.0-cp39-cp39-macosx_11_0_arm64.whl (41.4 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

concrete_python-1.0.0-cp38-cp38-manylinux_2_28_x86_64.whl (61.9 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.28+ x86-64

concrete_python-1.0.0-cp38-cp38-macosx_11_0_x86_64.whl (47.7 MB view details)

Uploaded CPython 3.8macOS 11.0+ x86-64

concrete_python-1.0.0-cp38-cp38-macosx_11_0_arm64.whl (41.4 MB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

File details

Details for the file concrete_python-1.0.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for concrete_python-1.0.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 31fa3c6ee0351e03cf465459287451ec655a530c72e404131f4b75e8a5623a16
MD5 177a40f799c78938a00199e1b53fb42d
BLAKE2b-256 3775195cce76d005313511f2669374ad84539f478ccf2f9c71c4de7debcc42c3

See more details on using hashes here.

File details

Details for the file concrete_python-1.0.0-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for concrete_python-1.0.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 a3e3656c58e8707570c81e4f4627f51f86dbd591a592726ca6772e758f1ae956
MD5 7436691c544f15c4754a735ef029c3f5
BLAKE2b-256 0473d3b47e0beea3f0c01342e6325b30b951f366491371bdbffd8196c08f297b

See more details on using hashes here.

File details

Details for the file concrete_python-1.0.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for concrete_python-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b738ca57e7639d72b761bb73b16e8988e0ae2eb15d907f81803d41c59a34ce22
MD5 08df4877a420ae476dd54bba42332d77
BLAKE2b-256 7f751b78d78366062c330ed27b29090b00ccd7532eb749a52a945ff6abcdcbdb

See more details on using hashes here.

File details

Details for the file concrete_python-1.0.0-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for concrete_python-1.0.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3dca47430095fc88b443ff43790c413b25e0d111c4cb4be82b8f6e3cb75f410d
MD5 eb80d780f6a21913f69006677eb7284a
BLAKE2b-256 a0aabc80b03bdd0cc29bcbe30ffe5ce017fa1a9cf454ab9b14fa28bba5e72d4f

See more details on using hashes here.

File details

Details for the file concrete_python-1.0.0-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for concrete_python-1.0.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 1bb9bf2af0910f10948fda230ac25666a06f606e37d74da5c7ee401eb461e79b
MD5 8801155ac57c4f9adb1e4b8474f2bf73
BLAKE2b-256 fb7fbd615d1ce31f71c529a82e475c6209fd50da293f0df3b05774ed1a1928ff

See more details on using hashes here.

File details

Details for the file concrete_python-1.0.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for concrete_python-1.0.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5f9682e763f5dcea18a349d4bec3342e33af5fafc6eef0450ec95ef20ef49c2a
MD5 01dfc82420c52b84f653daf49662fd8a
BLAKE2b-256 3f4ae2ecefd110334209b9c1b3924a6d57eef940e345e30cbd89d8a13b214092

See more details on using hashes here.

File details

Details for the file concrete_python-1.0.0-cp38-cp38-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for concrete_python-1.0.0-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8c8ea5eec70f69c0024f2a72ea61fe5061bc77b84e7bba33359b80d172f899b0
MD5 500b0fdf4af1fdee2dbf1b84313c4f49
BLAKE2b-256 2217ca0da72bcfc6cb2e64005c15ea576af75d5ab8934fe68fda4bd730678360

See more details on using hashes here.

File details

Details for the file concrete_python-1.0.0-cp38-cp38-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for concrete_python-1.0.0-cp38-cp38-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 7d2885ba3a6fe14772223db6eca6ca36bdb6a2d31f1127faa8786a4ac08007e3
MD5 efa3b619367ef61f9de4b01a3a5898d8
BLAKE2b-256 047b86a900be0d4646083d7c546161374c4e49a15061363dcb0fbe910c1cceac

See more details on using hashes here.

File details

Details for the file concrete_python-1.0.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for concrete_python-1.0.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 508247ea6a17be424a14766273b4e988dfc9062e3cca97eda43c0b6077709c65
MD5 6fa683e31f5e87bc7343a92bc0a3881a
BLAKE2b-256 5ab1a6b18e4f5a61106fa88741210b860c19406367b95a7fc6bd7b8b474cde52

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