HElib icon indicating copy to clipboard operation
HElib copied to clipboard

Add Python Bindings

Open youben11 opened this issue 4 years ago • 0 comments

Feature Request

Faster prototyping and integration with machine learning libraries often requires Python bindings. Instead of having separate repos implementing binding for different API versions, it would be useful for the community to have have them alongside the library for official and maintained bindings.

What needs to be done

I would suggest reorganizing the src directory into different directories for different languages (e.g. cpp and python) and manage build files and other dependencies separately. All bindings will need to access the src/cpp directory for building the native library.

Bindings for Python can be implemented in different ways. I personally like Pybind11 but someone might argue why it might not fit well this project. Combining with Github actions, we can also provide ready to use python package that can be installed via pip for different python versions and platforms.

youben11 avatar Jun 11 '20 08:06 youben11