Python package for studying large scale structure, cosmology, and galaxy evolution using N-body simulations and halo models