Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 07-May-2022 | - | ||||
BloomFilter_pythonwrapper.cpp | H A D | 21-Apr-2021 | 11.3 KiB | 377 | 280 | |
Jamroot | H A D | 21-Apr-2021 | 1.6 KiB | 50 | 41 | |
bloomfilter.py | H A D | 21-Apr-2021 | 94 | 8 | 4 | |
python_wrapper.readme | H A D | 21-Apr-2021 | 1.1 KiB | 22 | 16 |
python_wrapper.readme
1Python wrapper for BloomFilter.hpp 2 3Requirements - 4Boost python library (http://www.boost.org/doc/libs/1_60_0/libs/python/doc/html/building.html) 5Available at - /projects/btl/hkhan/source/boost_1_60_0 6 7-This script has the wrapper code for all constructors and member functions. 8-The script uses bjam to build the 'bloomfilter_ext' python module. 9(bjam is the build tool that comes bundled with every boost distribution) 10-The Jamroot file is a minimalist bjam script that builds the DLLs. It has a number of information 11such as the boost library path, cpp file name, python module name, python file name, etc. 12 13Build instructions - 14bjam 15 16The script runs without any errors. The user should refer the individual constructors/functions and 17use the appropriate arguments. As many datatypes in C++ are not available in python, users should 18use NumPy data types objects. (http://docs.scipy.org/doc/numpy/reference/arrays.dtypes.html) 19 20For more info, please refer - Boost python library 21(http://www.boost.org/doc/libs/1_60_0/libs/python/doc/html/tutorial/index.html#tutorial.quickstart) 22