python wrapper of sao XPA library