lite parser for python script