A Python library of supporting code for SAC and SMAIUG