Several Collective Algorithms in Python.