Python wrapper for the R package Ckmeans.1d.dp (https://cran.r-project.org/package=Ckmeans.1d.dp). Ckmeans.1d.dp produces fast, optimal, and reproducible weighted univariate clustering by dynamic programming.
Based off of https://github.com/rocketrip/ckmeans/.
To install via pip:
pip install ckwrap