streampress

StreamPress Python Package

High-performance compressed sparse matrix I/O for Python using the StreamPress .spz format.

Features

Installation

pip install streampress

Quick Start

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.