python wrapper now work for the c++ lib