extented python version of PaSWAS