Python webservice api for chaos sorting