python version of melt