A simple Python math library