This is a baby python module that simulates some of the different "ball and urn" processes outlined in Page, Scott E. 2006. “Path Dependence” Quarterly Journal of Political Science 1: 87-115.
I'll hopefully be adding more and more examples as time goes on.