• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..07-May-2022-

BloomFilter_pythonwrapper.cppH A D21-Apr-202111.3 KiB377280

JamrootH A D21-Apr-20211.6 KiB5041

bloomfilter.pyH A D21-Apr-202194 84

python_wrapper.readmeH A D21-Apr-20211.1 KiB2216

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