Neutrino physics with the PTOLEMY project: active neutrino properties and the light sterile case