Fully working python version of lime