A grep like tool in python to give specific statistics and special command-line options