somewhat working python module