A library for cosmology written and FORTRAN and wrapped for Python