This is a c++ extension for python which computes K.R. balanced matrices.
conda install bioconda::krbalancing