histoptimizer (pypi): A library for creating even partitions of ordered items.
Keywords: cuda|numba|dynamic|programming|partition