SciPy

scipy.spatial.cKDTree.leafsize

cKDTree.leafsize