Python tools for analysis of IRTF SpeX data