adding a python wrapper for the api

bari related testing