SciPy

scipy.sparse.bsr_matrix.blocksize

bsr_matrix.blocksize