Skip to main content

Python bindings to BSP-OT

Project description

bspot-python

Python binding to BSP-OT (Genest et al., 2025)

Installation

pip install bspot

Example usage

>>> import bspot
>>> import numpy as np
>>> A = np.random.randn(3,10000)
>>> B = np.random.randn(3,10000)
>>> bspot.set_num_threads(8)        # By default, use all available threads
>>> bspot.compute_matching(A, B, orthogonal=True)
array([1586, 7207,  330, ..., 3329, 4056, 3637],
      shape=(10000,), dtype=int32)

Building (mostly copied from libigl-python-bindings)

Testing cibuildwheel locally

Install whichever version of Python from the official website and then run:

/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12 -m venv venv-official-3.12
source venv-official-3.12/bin/activate
python -m pip install cibuildwheel
CIBW_BUILD="cp312-*" python -m cibuildwheel --output-dir wheels --platform macos

Downloading all the artifacts

A successful .github/workflows/wheels.yml run will generate a lot of .whl files. To download these all at once, you can use the following command:

mkdir -p wheels
cd wheels
gh run download [runid]

Uploading to TestPyPI / PyPI

Then these can be uploaded to pypi using:

python -m twine upload --repository testpypi wheels/*/*.whl wheels/*/*.tar.gz

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

bspot-1.0.0.tar.gz (3.6 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

bspot-1.0.0-cp313-cp313-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.13Windows x86-64

bspot-1.0.0-cp313-cp313-manylinux_2_28_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

bspot-1.0.0-cp313-cp313-manylinux_2_28_aarch64.whl (2.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

bspot-1.0.0-cp313-cp313-macosx_11_0_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

bspot-1.0.0-cp313-cp313-macosx_11_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

bspot-1.0.0-cp312-cp312-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.12Windows x86-64

bspot-1.0.0-cp312-cp312-manylinux_2_28_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

bspot-1.0.0-cp312-cp312-manylinux_2_28_aarch64.whl (2.9 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

bspot-1.0.0-cp312-cp312-macosx_11_0_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

bspot-1.0.0-cp312-cp312-macosx_11_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

bspot-1.0.0-cp311-cp311-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.11Windows x86-64

bspot-1.0.0-cp311-cp311-manylinux_2_28_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

bspot-1.0.0-cp311-cp311-manylinux_2_28_aarch64.whl (2.9 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

bspot-1.0.0-cp311-cp311-macosx_11_0_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

bspot-1.0.0-cp311-cp311-macosx_11_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

bspot-1.0.0-cp310-cp310-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.10Windows x86-64

bspot-1.0.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

bspot-1.0.0-cp310-cp310-manylinux_2_28_aarch64.whl (2.9 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

bspot-1.0.0-cp310-cp310-macosx_11_0_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.10macOS 11.0+ x86-64

bspot-1.0.0-cp310-cp310-macosx_11_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

bspot-1.0.0-cp39-cp39-win_amd64.whl (2.3 MB view details)

Uploaded CPython 3.9Windows x86-64

bspot-1.0.0-cp39-cp39-manylinux_2_28_x86_64.whl (3.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

bspot-1.0.0-cp39-cp39-manylinux_2_28_aarch64.whl (2.9 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ ARM64

bspot-1.0.0-cp39-cp39-macosx_11_0_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9macOS 11.0+ x86-64

bspot-1.0.0-cp39-cp39-macosx_11_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file bspot-1.0.0.tar.gz.

File metadata

  • Download URL: bspot-1.0.0.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for bspot-1.0.0.tar.gz
Algorithm Hash digest
SHA256 42f27ad3b1e3b9641a04ccdc477f841401d1a315dcc3ff1cb4504f60a947324f
MD5 64c28bc83f8fadddca21692a5471e123
BLAKE2b-256 dda4490a60b4d70aa3b0d666d4161fbefeb9741e90c5c3edacdcc857d0091156

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: bspot-1.0.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for bspot-1.0.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e0ead5c4e5628a70f1d0675b53936bf4add305141c71ec80cacb0c844adee3bb
MD5 0cc14d55be940a4b5bf7108118e55407
BLAKE2b-256 7c0dc8a88f634c9a11e52ecc28096a36b55676ef50b0db4c475fe0453ce67fcc

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b1fba27338dda17c594e686f43db7f2c2aabe785da9283021419315187ae833f
MD5 eee5bfa5c6e96905706e6dc19f6eac75
BLAKE2b-256 89acdcf18d14d2fa69ae4e4623348c24c203bff88a76e9e1e87bf812f975f9af

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp313-cp313-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 90ad8952d7251419684a4c283317d54c9d756810914ae03e5a65bfebb2b1c7c2
MD5 82ee1b398995d3210a8f6fc71f303889
BLAKE2b-256 60dbbe35f21ec91c4670c671ddedb03dc8c8f84eb25a15bfe72057a60c9adbae

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp313-cp313-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 5559409d573f0c3aa5c71871f0a651ea87e538194f7335b56522f2990ad9b2b4
MD5 0ad9cfcc58f500a531b6f7a97c7f7719
BLAKE2b-256 28fad020bb6d1966ac07954d0e394a798eb50b072d79271adaadbf2c1e8b50a2

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 396e8e98a4a2a142b54cb6051a3b731286f2c67e4b77e860e6439c07a8d00b7e
MD5 2ac215aeb1823e6cb040796d9a1dd815
BLAKE2b-256 fc28808de55c1ca597dc93047e3dd60a38f2f479a153e3dba531c60606700cd7

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: bspot-1.0.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for bspot-1.0.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 2037b54ef0a2de41d5d689a944c6ae46d4e5528c3a77979e6fb68ed74f6ff2c5
MD5 25164ea76e139e1f09385ca6f715990f
BLAKE2b-256 64ab6e5d6e400c8b7b7403933c46fe50c7d90140877618f90dd9a7b879e03a36

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 75bd0f23920c909804211b2d929914d85988491f78997c8dfada3229621efe06
MD5 2945043885a7158c1bf74a8c4295c263
BLAKE2b-256 1753f3250032c859c6b5b385d3d7d6b22eaf0d904feb6ff185ec7d70fb14582a

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a8f036d5e2d0065b6babf0ebe0faa3e95e4bce7f809ef0f1bbc9ad2b664f5518
MD5 ea8d15ff1c83311db34e9b68c765c6d3
BLAKE2b-256 076acd5c83f00fccb2aed8523abde3ac6d7913104a54fa61ec17121ac95d28d4

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp312-cp312-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 abad2093f6669615778203ead5a01db2a1644533ea6d1d92bfe23cd750360b69
MD5 de89777d97fbc67413fce8a11e2da639
BLAKE2b-256 7f0070af16bf13a1cab37e205f70d7022daa23f354fa5a4cbed03c1f326429e3

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5813fc0b7b1ad75108b94ed1b529460b16bc15f918d286c2ba4c54dc84a9b58e
MD5 7bad5f48f9ff9cd9d89e036d24c15de8
BLAKE2b-256 9ac87b6f4e7618afb7567fe89eb3c488e280933c6d9fe9bf60ed5bed7d292f5e

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: bspot-1.0.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for bspot-1.0.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a6752b46fdce584c1336767d2afda943c25054f11083ed6e344a2b5521f27b22
MD5 7649ed200893a686e73b52da9987a71f
BLAKE2b-256 e24d601f69aea1d4b2f53f764b7ae94d2749ee242caf456efd532a601104b87d

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f5455cba9048373683477e6a488569da6a536b3ca12d80acc6293e81e6b5634b
MD5 46c7d0683a7d36d592f16fdcd770ba59
BLAKE2b-256 6fc4e4e1b4c613aeb3bd7b5aa3f78b1a691d43e17748cad54a145a0604702fda

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e20c3ccc12af23105c5e85ba9841b4968c42933dba6e963d64d4a06e1ed526e7
MD5 b2d167e1435dfe07bb8a5a4825072782
BLAKE2b-256 96000a766be6cf226e67a8a9c84b0cf9e6f22452df705ba399d1c06e590a0ff0

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 202bafdcbde5c91581d971b582d96967ecdfc0146400309199479378825a11ed
MD5 89961971614fddba114ab7903fe46464
BLAKE2b-256 92d2099b3e2142bacccd103e3feaf51dc3ebd104b0c3c55e5e6439538195e700

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ec8c41bfe94e855a52f014720fe78398d447e7cb255eba25659ebdbafd671d95
MD5 d01cdfec5c164991af4aabdaee3039b3
BLAKE2b-256 fd992d1905972abbf6d6c53a428b8ded098134af279a8dc8487b20b24726d9b6

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: bspot-1.0.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for bspot-1.0.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5ae5618159550f5325cd0e75de1ceacfcb2586a5e7080ff4bbcb89436817cb3a
MD5 ae0ee9bc9d179b57f2b8c6936df40e01
BLAKE2b-256 2bb386ed6702dd37d5d28a90434e2966fb35c9c9a80990e412b8a1af21e391aa

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3f3c59fe5df6859b61979a409c6e76db0a34b72038545a4f656d483b070a08a3
MD5 a196045477c8cfaa1aa05071661895e9
BLAKE2b-256 9484d79008434e790e579ad5d1b8d43b77705a817452c36180af0ca3748677a9

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 46602b35a145c44f303d531c82ff6317645d9ee20dff353d77d646fb5855531b
MD5 3814ea386bbdcac770582e3916077798
BLAKE2b-256 25d8407dc787d750aeb470a8e0d1dc5437affc2f4df2876c7039c64f900aa99f

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp310-cp310-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp310-cp310-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 dca510998c9477fdf83b153213e037965fa863f1398145bfa352123c5070f34b
MD5 839ed5c79bc6dff6695516d81e9e9157
BLAKE2b-256 ad105bc09472633ec86e77da9a6393b1bacf9ac8e2006cba05576a7ac560425c

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3babe3e60c853c25f81f7127d240a87ded3494a46134229eb00dd4895eb6bba3
MD5 43f44c8dbd97f0497c656a90763f4bf7
BLAKE2b-256 490273cfb4cc9b64f0e4ed65d6efc3af295789a78eefd5e48f9394471ccd7420

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: bspot-1.0.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for bspot-1.0.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 aa64b4ce092562a246a58179103b05a701026141214585d49fe48c9add6bc960
MD5 9deaa968329458bccbb15311890656e6
BLAKE2b-256 ffbb8754976f54ee542cbd6ae693f234520ac6e9cadb8c036f1a66f08ca168b8

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 44159a2f23828258509dc18bdd33ed1082d06fb7c53ae02bbf437b525f517fad
MD5 5cc454bd299bd9eb4575026ee99bc20e
BLAKE2b-256 e4603cf856391b5abdd78443de0bb5466bb00062507c4904194b0f6775312a19

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp39-cp39-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8de8065c6f83a32777b9ae4f5e06b713cc9298cde7fb377708ad6813f98f8f7c
MD5 ba7d9c9ac4af4a0e853e73942a0ab849
BLAKE2b-256 1f22b7920cc69011f590da301f2e2266d464ef905715152190579bbddc28bfcc

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp39-cp39-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp39-cp39-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 235c8b132af98b28bdfb2226e49a653e0a9464fa9b4d8cd4bd86692892436d5a
MD5 c61e8405fca3038db874896bceb3be2a
BLAKE2b-256 154b657c26300bddc0b2bd2f20c6652c3da5c9b3e199ff881077b4654477d6c8

See more details on using hashes here.

File details

Details for the file bspot-1.0.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for bspot-1.0.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 80f0090e666aaa20e7c7c646334e4402bf6917f83aa33c8fb9cd1a567dc44a0f
MD5 c8700336be7001342c191ba51f98552f
BLAKE2b-256 08cbe631f28ea9385639214b11c70931379152a6f6e0e092ece803fa2621923b

See more details on using hashes here.

Supported by

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