# mattress The **mattress** package implements Python bindings to the [**tatami**](https://github.com/tatami-inc) C++ library for matrix representations. Downstream packages can use **mattress** to develop C++ extensions that are interoperable with many different matrix classes, e.g., dense, sparse, delayed or file-backed. It is based on the [**beachmat**](https://bioconductor/packages/beachmat) Bioconductor package, which does the same thing for R packages. ## Install Package is published to [PyPI](https://pypi.org/project/mattress/) ```shell pip install mattress ``` ## Contents ```{toctree} :maxdepth: 2 Overview Tutorial Contributions & Help License Authors Changelog Module Reference ``` ## Indices and tables * {ref}`genindex` * {ref}`modindex` * {ref}`search` [Sphinx]: http://www.sphinx-doc.org/ [Markdown]: https://daringfireball.net/projects/markdown/ [reStructuredText]: http://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html [MyST]: https://myst-parser.readthedocs.io/en/latest/