compile python stuff into slug