rubrica in python