Skip to main content

Special Matrices (spmat)

PyPI Python Build PyPI Downloads

A collection of tools for special matrices with optimized implementations for scientific computing.

Features

Currently includes:

  • ILMat: Identity plus positive semi-definite (PSD) low-rank matrix
  • DLMat: Diagonal plus positive semi-definite (PSD) low-rank matrix
  • BDLMat: Block diagonal plus low-rank matrix

Installation

From PyPI (Recommended)

pip install spmat

From Source

Clone the repository and install:

git clone https://github.com/ihmeuw-msca/spmat.git
cd spmat
pip install -e .

Requirements

  • Python >= 3.12
  • NumPy
  • SciPy

Development

To set up the development environment:

git clone https://github.com/ihmeuw-msca/spmat.git
cd spmat
pip install -e ".[dev]"

Run tests:

pytest

License

This project is licensed under the BSD-2-Clause License - see the LICENSE file for details.

Metadata

Release files for spmat 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for spmat 0.1.2
File Size Uploaded Provenance Actions
spmat-0.1.2.tar.gz 8.6 kB Without provenance Details for spmat-0.1.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for spmat 0.1.2
File Actions
spmat-0.1.2-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for spmat-0.1.2-cp314-cp314-win_amd64.whl
spmat-0.1.2-cp314-cp314-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ x86-64 Details for spmat-0.1.2-cp314-cp314-musllinux_1_2_x86_64.whl
spmat-0.1.2-cp314-cp314-musllinux_1_2_aarch64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ ARM64 Details for spmat-0.1.2-cp314-cp314-musllinux_1_2_aarch64.whl
spmat-0.1.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for spmat-0.1.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
spmat-0.1.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details for spmat-0.1.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
spmat-0.1.2-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for spmat-0.1.2-cp314-cp314-macosx_11_0_arm64.whl
spmat-0.1.2-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for spmat-0.1.2-cp313-cp313-win_amd64.whl
spmat-0.1.2-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details for spmat-0.1.2-cp313-cp313-musllinux_1_2_x86_64.whl
spmat-0.1.2-cp313-cp313-musllinux_1_2_aarch64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ ARM64 Details for spmat-0.1.2-cp313-cp313-musllinux_1_2_aarch64.whl
spmat-0.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for spmat-0.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
spmat-0.1.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details for spmat-0.1.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
spmat-0.1.2-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for spmat-0.1.2-cp313-cp313-macosx_11_0_arm64.whl
spmat-0.1.2-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for spmat-0.1.2-cp312-cp312-win_amd64.whl
spmat-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details for spmat-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl
spmat-0.1.2-cp312-cp312-musllinux_1_2_aarch64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ ARM64 Details for spmat-0.1.2-cp312-cp312-musllinux_1_2_aarch64.whl
spmat-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for spmat-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
spmat-0.1.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64, Linux glibc 2.17+ ARM64 Details for spmat-0.1.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
spmat-0.1.2-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for spmat-0.1.2-cp312-cp312-macosx_11_0_arm64.whl

Total release size: 7.2 MB

Release files / spmat-0.1.2.tar.gz

Download URL spmat-0.1.2.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7a7db029cbf756038a3c3a8dc4ececa121bec1391e403fe61ce25c142f0d4637
BLAKE2b-256 checksum
How to use checksums
8e5d20bc5b1fb583761bac8bc55d4dd2f8d30f807f569733ef534c18defdbfe4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp314-cp314-win_amd64.whl

Download URL spmat-0.1.2-cp314-cp314-win_amd64.whl
Size 85.6 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
4e1119f5613ad4ff76afd1bfa8a1f2244b8c62192e31c3919f85a3028e2d79e6
BLAKE2b-256 checksum
How to use checksums
3a3647694a97c08e9ce60994dd8b59793f569af058d687deb9602dcfaa945041
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp314-cp314-musllinux_1_2_x86_64.whl

Download URL spmat-0.1.2-cp314-cp314-musllinux_1_2_x86_64.whl
Size 557.2 kB
Tags CPython 3.14 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
2645d142b15cc9d50d3cad1cf31bf18d25eb1e2c0e9ba1d3055483f629ffa015
BLAKE2b-256 checksum
How to use checksums
041f13c577930cdfdf4b0f9dcd12e38267217324c9ddc41d811f3fac74d2c829
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp314-cp314-musllinux_1_2_aarch64.whl

Download URL spmat-0.1.2-cp314-cp314-musllinux_1_2_aarch64.whl
Size 539.1 kB
Tags CPython 3.14 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
29e95a32193756729858ca3a21c5fe4a826cb8accd18996bde362e56d75306cc
BLAKE2b-256 checksum
How to use checksums
fb71c9db13bbf6cdc0d7ea736d25c70eca466b525931050f8184ad8718c99fa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL spmat-0.1.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 558.0 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8dda661bb8f35aacad262a2b1972a2b7b8c2cf0bab0d46d057df66436dc1751e
BLAKE2b-256 checksum
How to use checksums
ca8e5550e77a27ddaaa0bd796b64688904061af184d3617b866af699bc428f4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL spmat-0.1.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 551.2 kB
Tags CPython 3.14 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
525ad08a84df267f53107b40b2f01ec631d12102cd89ef1c21de984405635382
BLAKE2b-256 checksum
How to use checksums
6445609d6850c6004f15d135abf73630a63f1d61d9a036ab52fc66e469b5bf59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp314-cp314-macosx_11_0_arm64.whl

Download URL spmat-0.1.2-cp314-cp314-macosx_11_0_arm64.whl
Size 95.9 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7d8dce410e67e945f5670e1d6dc2f63b41d40b79be77613b79bdcc50f01cda66
BLAKE2b-256 checksum
How to use checksums
6b4dfb7575a15b98c06a8b634dd58efd8eb76842ed5e39884ed7d97d0de50a69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp313-cp313-win_amd64.whl

Download URL spmat-0.1.2-cp313-cp313-win_amd64.whl
Size 83.3 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
ec1b99cb52ca26fb5e0f10fe8e8902690df1b881cf6c868ce6e1f467c3dbad51
BLAKE2b-256 checksum
How to use checksums
4c5f8c5ef383227ad0cab19d52b33e33c70e8177c4e71a81193e5976f30b579e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL spmat-0.1.2-cp313-cp313-musllinux_1_2_x86_64.whl
Size 560.5 kB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
61fdf52195fc90b415c0b26ccfea828e14e0e81757bb4535677c6d9f77a3fe48
BLAKE2b-256 checksum
How to use checksums
186a86df1d8bcf44290c605030e5f7eaeffb23b8153584da64ff3566b2678c7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp313-cp313-musllinux_1_2_aarch64.whl

Download URL spmat-0.1.2-cp313-cp313-musllinux_1_2_aarch64.whl
Size 540.0 kB
Tags CPython 3.13 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
03401ac09a52ac1fd8805d732e2af4000a25940029b1ea2b18a0568e2fd56fc6
BLAKE2b-256 checksum
How to use checksums
974cd2b1fb8eb448a6cdeafb1f24bcd767dd00bc166e8f7bc7a67e86581a0bc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL spmat-0.1.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 562.2 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7d7a02164de56a27539ff3b2a7259f42bb34d888961d14e6ee47e3159260a146
BLAKE2b-256 checksum
How to use checksums
e29ee41c466cae38146a982c10f3dc0b0abc15d56601af61f86f36b5808de14d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL spmat-0.1.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 552.4 kB
Tags CPython 3.13 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
95f92aace8276312af89cd00ca38160be9a949ce30cfe08d7ee2c0976a2e47f1
BLAKE2b-256 checksum
How to use checksums
71c13064ce98278b1eb8b6195259aae1279deba222d507da262c6b87f35eff0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp313-cp313-macosx_11_0_arm64.whl

Download URL spmat-0.1.2-cp313-cp313-macosx_11_0_arm64.whl
Size 95.2 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e0455b3e01159768b9fa7de5e9cb495e4ea1ae489a1a504b780a30891fffadb6
BLAKE2b-256 checksum
How to use checksums
6f6260ea2be916337ef17ba4bf72681a3df1613775c08f047021a9b9fe02926f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp312-cp312-win_amd64.whl

Download URL spmat-0.1.2-cp312-cp312-win_amd64.whl
Size 83.5 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
666d16593a7a1d50ee701e60f2007f553c44d14f4f3c53100ae6b4bc3315ad62
BLAKE2b-256 checksum
How to use checksums
2814b2bd555aed0caa34e85b274c937e42bd8e8576688259a5931d0cc4cf737e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL spmat-0.1.2-cp312-cp312-musllinux_1_2_x86_64.whl
Size 563.8 kB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
7faae1b67a48b0ed9f9112e1d8c222216c2b4395dd1e3c537e5ead4821920f59
BLAKE2b-256 checksum
How to use checksums
8a47fb4984954c6c61a58b9959d56b2f54b223ef4c5cc07a3e03c10e36eaf085
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp312-cp312-musllinux_1_2_aarch64.whl

Download URL spmat-0.1.2-cp312-cp312-musllinux_1_2_aarch64.whl
Size 544.9 kB
Tags CPython 3.12 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
70eeacd714755a4500e24bf1569bf996f6aef984cd105dd6063a6a3dbc80e51a
BLAKE2b-256 checksum
How to use checksums
b99ff5198e47ba8477a323401116ffa0df7f8045765809ec026febe6088f5b21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL spmat-0.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 566.7 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f2266f73834dcb7ecdb5971b6a35e137cd305e6a999444ecd3059cf9afe09420
BLAKE2b-256 checksum
How to use checksums
fad801aedf41d50c7841141a1603ec74028287d2362094a0992a81ad9bfe5d7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL spmat-0.1.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 557.1 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
7524aedb4ced69eaa199c309e78c7913ecb94ba26ce8336396b996a76cc9d1b3
BLAKE2b-256 checksum
How to use checksums
d17a068a167013fb8983bc800fef1b93e91073f9d4c2d491ba82f4ed539d4a96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / spmat-0.1.2-cp312-cp312-macosx_11_0_arm64.whl

Download URL spmat-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
Size 95.7 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e18d00065b9f299f4d0f7544e1819328007ff9ce42f6f09b963a60ad5dc851c1
BLAKE2b-256 checksum
How to use checksums
d6b6aa5da9f5364c105f71cdd1e9c23fcb81d495d2bdfd194204b314bf4b2ac6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for spmat 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page