Skip to main content

O(1) region count queries using sparse prefix sums

Project description

libSps is a versatile C++ library designed for efficiently analyzing n-dimensional data. Specifically, it implements constant-time hyperrectangle count queries using a sparse prefix sum index. libSps is available as a header-only library for C++ as well as a Python 3 module. It is based on algorithms developed by Shekelyan et al. [1] and Schmidt et al. [2].

The library is ideal for processing contact mapping data (https://en.wikipedia.org/wiki/Chromosome_conformation_capture), and is therefore used in Smoother (https://github.com/Siegel-Lab/BioSmoother).

libSps’s documentation is available at https://libsps.readthedocs.io/.

[1] Shekelyan, M., Dignös, A. & Gamper, J. Sparse prefix sums: Constant-time range sum queries over sparse multidimensional data cubes. Information Systems 82, 136–147 (2019).

[2] Schmidt et al. @todo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

libsps-0.5.2.tar.gz (9.9 kB view details)

Uploaded Source

Built Distributions

libsps-0.5.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (532.1 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

libsps-0.5.2-cp311-cp311-win_amd64.whl (247.7 kB view details)

Uploaded CPython 3.11 Windows x86-64

libsps-0.5.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (533.2 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

libsps-0.5.2-cp311-cp311-macosx_12_0_universal2.whl (297.1 kB view details)

Uploaded CPython 3.11 macOS 12.0+ universal2 (ARM64, x86-64)

libsps-0.5.2-cp310-cp310-win_amd64.whl (246.3 kB view details)

Uploaded CPython 3.10 Windows x86-64

libsps-0.5.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (532.2 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

libsps-0.5.2-cp310-cp310-macosx_12_0_x86_64.whl (295.8 kB view details)

Uploaded CPython 3.10 macOS 12.0+ x86-64

libsps-0.5.2-cp39-cp39-win_amd64.whl (246.4 kB view details)

Uploaded CPython 3.9 Windows x86-64

libsps-0.5.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (532.6 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

libsps-0.5.2-cp39-cp39-macosx_12_0_x86_64.whl (295.9 kB view details)

Uploaded CPython 3.9 macOS 12.0+ x86-64

libsps-0.5.2-cp38-cp38-win_amd64.whl (246.2 kB view details)

Uploaded CPython 3.8 Windows x86-64

libsps-0.5.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (531.9 kB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

libsps-0.5.2-cp38-cp38-macosx_12_0_x86_64.whl (295.7 kB view details)

Uploaded CPython 3.8 macOS 12.0+ x86-64

libsps-0.5.2-cp37-cp37m-win_amd64.whl (246.7 kB view details)

Uploaded CPython 3.7m Windows x86-64

libsps-0.5.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (533.5 kB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

libsps-0.5.2-cp37-cp37m-macosx_12_0_x86_64.whl (293.2 kB view details)

Uploaded CPython 3.7m macOS 12.0+ x86-64

libsps-0.5.2-cp36-cp36m-win_amd64.whl (246.7 kB view details)

Uploaded CPython 3.6m Windows x86-64

libsps-0.5.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (533.9 kB view details)

Uploaded CPython 3.6m manylinux: glibc 2.17+ x86-64

libsps-0.5.2-cp36-cp36m-macosx_12_0_x86_64.whl (293.2 kB view details)

Uploaded CPython 3.6m macOS 12.0+ x86-64

File details

Details for the file libsps-0.5.2.tar.gz.

File metadata

  • Download URL: libsps-0.5.2.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for libsps-0.5.2.tar.gz
Algorithm Hash digest
SHA256 9219c410bf0fcbd508a1fa3fedd3c8283525655e89dfb9b0d416667c442a6043
MD5 6c0d4052973f0a7c01aa370b2d04399d
BLAKE2b-256 3ad9bb01e8bb76a6cd579c9b3245637be579e6d37810f29bb1a844f5a5faf030

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for libsps-0.5.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 95138292d3333658fec735116bd9c81b1b81d048cb8f64ffcf1528ec6f8b7b19
MD5 fe1420b6074907abd37c31f55a4294b2
BLAKE2b-256 ffcd180ca6eab523c5ffb55ce6110277a1f3170ad1c03e3cfeef64fc542b2c70

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: libsps-0.5.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 247.7 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for libsps-0.5.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 114abde7586485c5eca96402adb1519e6340b00c665e7b9d90665d59620c3e17
MD5 c32a2d5e96ee3986c502890656413b0a
BLAKE2b-256 19870f1449897071a7e4ea8a7f050bfe9d59c76a67db35539e6743c5ea2a1625

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for libsps-0.5.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d36c0890c9d32e979e3cf13bd315f1b6591a4a792e56f99c8ba8bf21aed819b9
MD5 a4bdfe0b050f7660560e852eac18e7bd
BLAKE2b-256 59318bace2969228933ffbd9ec08d4e257a782cb3fa7c23abeb14c429a4f0b83

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp311-cp311-macosx_12_0_universal2.whl.

File metadata

File hashes

Hashes for libsps-0.5.2-cp311-cp311-macosx_12_0_universal2.whl
Algorithm Hash digest
SHA256 467e7ace0549c8e53ccce095eb375beaa4fa44e43ab583b4b307cc68b5e39234
MD5 a9c1e626cde547cf191a00f76fe4f47b
BLAKE2b-256 cdd6ee29195e77950d06dfd1c9ac3a8f078d9bba5e1732f25893e7c324a51b71

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: libsps-0.5.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 246.3 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for libsps-0.5.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b65e6b690f306b7af5cf89b2524fe0bd903c6c437f65187b1a393c4465c367e4
MD5 ac106e334bb17b1840da1d3a907d1730
BLAKE2b-256 560901e41cd1fd70cb1931980aec7e60eb42f3d1c71eca9e3067aa6e674a6f85

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for libsps-0.5.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4223dddbf2aea1ac6dc623b5f871d3039832b849f604b96344136f73ebf75d55
MD5 64f4f454948440f5d5aaf0b7a6842aea
BLAKE2b-256 5de2dc6f7638ec267b434e6ed127b915a51c35878a422c6365e8b82289504dfc

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp310-cp310-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for libsps-0.5.2-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 0cd0658a69f73b784bd2158bef7e4003d6dc78dc6a75a93e2246c7e88795be8e
MD5 8745668f2896d2b51fa064b0b8d9bf5c
BLAKE2b-256 120ce10153cf913a4681435c26d7ab8a0bb0db221f1e01f341ac8273a1c4c4ee

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: libsps-0.5.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 246.4 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for libsps-0.5.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 270c016dea818768bd15441cae642f6fa6f708f27a3a8fd5c12bac278bc9b748
MD5 eb546a1b9b1a1e830189679cadd18d5a
BLAKE2b-256 9953d3dbf87a2971381099eef10d82be010dea4968e3776f255fb2828c7455e8

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for libsps-0.5.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 72bf6007e3ddf3e01e617404c134adc832309112970e25a846bc6a02656036bf
MD5 1b945f3e331baba212e2646d6e1abe27
BLAKE2b-256 02ea14c88349fe120b2262dd1254288a628931202e91581f02739702f2bfb8da

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp39-cp39-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for libsps-0.5.2-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 13f8e9afabae0471b0d6bd7873bd9eac7d77cbfc3a33f96a83df4948c4864e88
MD5 f68387d898e40ddcac3436b988f30227
BLAKE2b-256 4a317d3ea20a9c44467a997520c4784197bfff0fe84fb99e33fc6a2b19447393

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: libsps-0.5.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 246.2 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for libsps-0.5.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 99e53553a35c5548c9f7c353b7261dfd10aa50eb1ff76f2e83ac6d4dd3f47470
MD5 a725f4290b4b7004ec378dca9d0de032
BLAKE2b-256 2161e0593570ee68c2ba14ffcda69518f87a400e5ef0749bf34c4bb804100d8b

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for libsps-0.5.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 be16afdee62a135446ae90dc1e5737897aaeaeaff0d4cf06fb6ab0f4f61b90b2
MD5 02a44224224993c4c20f24ef77592bb4
BLAKE2b-256 c50b205ff45747cfb4e6b948a51343c4ce3aac19e8f90dde3e86c0fb77e59cdb

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp38-cp38-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for libsps-0.5.2-cp38-cp38-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 b8f42ca681297e3e1139e7c127fe45fdcde8e26b4cdd1acc838ce21a26c000ed
MD5 c2e084663c7141dd453c1327bd4ad737
BLAKE2b-256 9f9b6d67d4bd955a1f415aff7899513edaef04eba539f2ba05cbd70f59bb6cda

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: libsps-0.5.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 246.7 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for libsps-0.5.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 5d9bf3bfacae4395e583c3d9ef1df1be1697e879e10aaa88e529e52c9b917c9b
MD5 83728c423a132e8bdf7f9b50be3a4e25
BLAKE2b-256 06a57f53383327bc129cc4c33f795e8a838378f3dc8d6565a7dd2f82230c58d6

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for libsps-0.5.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bf38aef26933e6de3ced0efabd73422389a5ac57ff21cd4767c6899a920587d5
MD5 e63b841e1df2f59575466e35a293e414
BLAKE2b-256 f811a4902a472bd57ae485683fe6371a4eca64800f5d93485a222feace2ddb9a

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp37-cp37m-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for libsps-0.5.2-cp37-cp37m-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 0a6993eea787c8d9e768bfba21de06ab8326de51246eff8f8696b5c401abfbfd
MD5 a3872a37e585bb234b2134e13a00ae39
BLAKE2b-256 3b097f8614b0015ee5ac67f2e9e56acd9b752a3760fe7cc6a48af4e4737f5aeb

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: libsps-0.5.2-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 246.7 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for libsps-0.5.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 4a3c28da9a7028ce0ba41721acd57ad76c349c7c4cf85f3d8cf6461d8af62650
MD5 371ee10bd5ab0b16ba8dd77802264df6
BLAKE2b-256 6b456c0fdc28c16fbf67c3a14dd0f0a8fb104012e28e98c906d7ad3c759e9a1c

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for libsps-0.5.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8ce2d323816c71a4cd69ca6f12b7814197b6068162cad7c79ebe7a30962137f2
MD5 387471b2e7ce84e88548fc68507ff36d
BLAKE2b-256 51f3508627bbfc4f74522ef68fd23048145c7cf6be5a09657a007f2025ba3109

See more details on using hashes here.

File details

Details for the file libsps-0.5.2-cp36-cp36m-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for libsps-0.5.2-cp36-cp36m-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 c6764874f146e253ce3a6596da9b4c5287b3b459f8913c03085f175a1ae4cdc9
MD5 77a97df644f50241f154b4c87960141d
BLAKE2b-256 59c4efde0f0adf3e6a43c3225d8c142beb3f2bcc3a822a13ec7f3dbaccc0aacf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page