I wrote the Superfit supernova spectrum fitting code. It compares spectra to a library of supernova and host galaxy spectra to determine the type and age of the supernova. It requires IDL with astrolib installed. Download instructions here.