A set of codes written in Python implementing models of network formation