pub(crate) fn register(module: &Bound<'_, PyModule>) -> PyResult<()>
Register hierarchical partition refinement with the extension module.