Boost.Python: A minimal CMake Config
Although most of the examples and Boost’s documentation uses bjam, you can also use CMake for your Boost.Python projects.
Exposing C/C++ Data as a Python NumPy Array
I recently needed to use memory that was allocated inside a C++ library in a Python application which expects a NumPy array without performing any copies. With ctypes, this can be implemented quite easily.