test scripe python api