highctidh Python bindings

This is a highctidh Python binding that statically links against an installed libhighctidh library. To build this module you must have the highctidh C library installed.

Build

Build the module:

python3 -m build --wheel

If your highctidh C library is installed only in your home directory then you will need to set specific environment variables for the python module build to work:

export CFLAGS=-I/home/user/inst/include/
export LDFLAGS=-L/home/user/inst/lib/
export PKG_CONFIG_PATH=/home/user/inst/lib/pkgconfig/
python3 -m build --wheel

Install

Install the wheel:

 pip install dist/highctidh-*.whl

Use the module

Run the simple benchmark:

python3 -c 'import highctidh; highctidh.simple_bench()'