The GraphBLAS[1] is an amazing API and mathematical framework for building parallel graph algorithms using sparse matrix multiplication in the language of Linear Algebra.
There are Python and and MATLAB bindings, in fact MATLAB 2021a now uses SuiteSparse:GraphBLAS for sparse matrix multiplication (A*B) built-in.