integrate computations in python bindings