A Cython module for the internals of a kmeans algorithm.