Skip to content

kimlaine/PyAPSI

 
 

Repository files navigation

PyAPSI

Actions Status

A pybind11 based wrapper for APSI.

NOTE: This is a very early implementation with a high probability of changing dramatically.

At the current stage, this wraps the ZMQ based communication CLI example from the APSI repository and while it also exposes the individual steps of the APSI "advanced API", this is not fully working.

Build

At the moment only building under Linux is supported.

Make sure to install vcpkg and APSI as specified in the APSI README. Then set the environment variable VCPKG_INSTALLED_DIR to /your/path/to/vcpkg/installed install poetry and run

poetry install
rm -rf build/
poetry run pip install --verbose .

Run

In two separate terminals, run poetry run python server.py and then poetry run python client.py.

For the advanced API example: poetry run advanced.py

About

A Python wrapper for APSI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 69.7%
  • Python 27.0%
  • Dockerfile 3.3%