add a py to format data with GraMi.