Skip to content

ioerror/highctidh-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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()'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages