Python routines for low temperature resistive thermometry in magnetic fields