SciPy

scipy.spatial.KDTree.leafsize

KDTree.leafsize