GraphBLAS / binsparse-specification

A cross-platform binary storage format for sparse data, particularly sparse matrices.
https://graphblas.org/binsparse-specification/
BSD 3-Clause "New" or "Revised" License
15 stars 4 forks source link

Binary Sparse Format Specification

This is part of a new effort to create a binary storage format for storing sparse matrices and other sparse data to disk.

Minutes from our meetings are available here (see also: previous minutes).

Specification

View Latest Spec

Parsers

Here is a table listing the current tensor frameworks that support the format:

Language Framework Status Notes
C binsparse-reference-c under development converts between binsparse and in-memory sparse matrices
C++ binsparse-reference-impl under development converts between binsparse and in-memory sparse matrices
Julia Finch.jl under development converts between binsparse and Finch matrices and tensors, supports custom format spec
Python binsparse-python under development converts between binsparse and scipy.sparse matrices

Editing

The working version of the specification can be found under spec/latest/index.bs.

The spec is written in bikeshed – a variant of markdown. To render the spec locally:

To render the spec online, see api.csswg.org, or use the following commands:

cd binsparse-specification/spec/latest
curl https://api.csswg.org/bikeshed/ -F file=@index.bs > index.html

Rendered versions will generated for pull requests.