Converting tracker_parser to python