High-performance compressed sparse matrix I/O for Python using the
StreamPress .spz format.
obs/var annotation tablespip install streampress
import scipy.sparse as sp
import streampress as stp
A = sp.random(10000, 500, density=0.05, format="csc", dtype="float64")
stp.st_write(A, "matrix.spz")
B = stp.st_read("matrix.spz")
info = stp.st_info("matrix.spz")
See https://github.com/zdebruine/streampress for full documentation.