Implementation of the colony specification for python.