Skip to main content

Python bindings for the Tensor-library

Project description

tensorx-python

Python bindings for the Tensor-library

  • C++20
  • CMake
  • Python3
  • pybind11
  • scikit-build-core

Add Tensor-library:

git submodule add -b c++mappings git@github.com:alarxx/Tensor-library.git

Install Docker: Root:

apt install docker.io
sudo systemctl enable docker # autostart
sudo systemctl start docker
sudo systemctl status docker
sudo usermod -aG docker $USER

User:

su -c "sudo usermod -aG docker $USER"
newgrp docker
docker version
docker ps

apt install python3 python3-full python3-pip python3-venv
#sudo apt install python3.8
python3 --version
python3 -m venv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install --upgrade build
python -m pip install -U twine
python -m pip install -U cibuildwheel

Build with hatchling vs. scikit_build_core (CMake).

Generating distribution archives from pyproject.toml file with configuration metadata:

python -m build
  • .tar.gz - source distribution
  • .whl - built distribution

Try to install locally:

python -m pip install --force-reinstall dist/*.whl
  • --force-reinstall - if version didn't change

Uninstall local tensorx-python:

python -m pip uninstall tensorx-python

Inside tensorx/ should be shared libraries (.so)

unzip -l dist/*.whl

Cross-platform build:

cibuildwheel --output-dir dis

Upload to PyPI:

python -m twine upload dist/*

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

tensorx_python-0.0.2-cp314-cp314t-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14tmusllinux: musl 1.2+ x86-64

tensorx_python-0.0.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (126.7 kB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tensorx_python-0.0.2-cp314-cp314-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

tensorx_python-0.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (125.7 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tensorx_python-0.0.2-cp313-cp313-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

tensorx_python-0.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (125.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tensorx_python-0.0.2-cp312-cp312-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

tensorx_python-0.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (125.8 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tensorx_python-0.0.2-cp311-cp311-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

tensorx_python-0.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (123.6 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tensorx_python-0.0.2-cp310-cp310-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10musllinux: musl 1.2+ x86-64

tensorx_python-0.0.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (122.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tensorx_python-0.0.2-cp39-cp39-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.9musllinux: musl 1.2+ x86-64

tensorx_python-0.0.2-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (123.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

File details

Details for the file tensorx_python-0.0.2-cp314-cp314t-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tensorx_python-0.0.2-cp314-cp314t-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4d23d0e1bb0823d769b099f1461b2cb3aa9c3913499d97203b41321c625cebf0
MD5 0afe85eab7dfcbad1b325b1e4b18393c
BLAKE2b-256 a70e08ede549b1a7931db8cc26f8fdf78493809bdcd14f3e422167e938e84608

See more details on using hashes here.

File details

Details for the file tensorx_python-0.0.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensorx_python-0.0.2-cp314-cp314t-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 003aa412fd8d4406b88fe78e2d80534547d5f6aae5af71375e9843e3ece3a4bb
MD5 53e96c0599397c3f74b168e11432a460
BLAKE2b-256 53b431cbfc7026046a858dbff369734d966887a6583f49c5fd425e3e2987052a

See more details on using hashes here.

File details

Details for the file tensorx_python-0.0.2-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tensorx_python-0.0.2-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 42591b84e8e57cdeeff41d2205e4670488c562570013fe736cfd7856fb08fd25
MD5 affdbc5dd1d249c94a0630bfe76c70be
BLAKE2b-256 61f7796ecae5ad3cd0d3d0d69761d88a9c583dc20ece5d9140b80385f6bfc3a0

See more details on using hashes here.

File details

Details for the file tensorx_python-0.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensorx_python-0.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 565f4fc76718ad0d1e86d73a5ea9eb4146ba83ca106b229637571f987aab4519
MD5 024014bafc0712b920e29f7531068da1
BLAKE2b-256 1eb1e425fe235983271b786c8de1ad5e898cba29ed8cc55477933ee1cc4225a2

See more details on using hashes here.

File details

Details for the file tensorx_python-0.0.2-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tensorx_python-0.0.2-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 dbae56ce4ea159cd9873f6da1887bb98bfcd3e9b8da3c5db45965b3031ca8755
MD5 d2ac23fe07425494ab72295845f7f2fd
BLAKE2b-256 a6de0e2ab8d0358e843f4dabc2254be45ebf123b56d7aaa14ac075639238b068

See more details on using hashes here.

File details

Details for the file tensorx_python-0.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensorx_python-0.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fc47f3fc316b715fdb7f28e20f35c71bc5e96b05954a7765bc04c8f39edef855
MD5 5d7331dcc9b2ba29058cc4a78d9f9009
BLAKE2b-256 8933264effe2233c8c399c228aa7eb8e6f3032a435ed3618e80016057bbffccc

See more details on using hashes here.

File details

Details for the file tensorx_python-0.0.2-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tensorx_python-0.0.2-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d2f0cae3f9f1aba923b20001a09b96fe518bd01639b372f4f57c2afd743d99e2
MD5 46377d02049cd16a6c250a79c0cae14e
BLAKE2b-256 531e2f3703691c2a9e9e30d077dc600a0a21eaa7fc581f6854ef5debdce2fc69

See more details on using hashes here.

File details

Details for the file tensorx_python-0.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensorx_python-0.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c53194193d36943a3b5c535013a095f6c0142c747b0f47129d63ff144a4d9c2e
MD5 e44d54e0231808348a4e9b68ae47e882
BLAKE2b-256 bd9a624fb8a01bf6287c852224b824a1859f6d011bef0d2ec87f156493e61853

See more details on using hashes here.

File details

Details for the file tensorx_python-0.0.2-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tensorx_python-0.0.2-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cee9fa14e0a148afd5d83ab115d200a527112f76149611f353944826440ceabf
MD5 1d69d7c725dde5b266b01ed7c7cf7066
BLAKE2b-256 3929165696ecb8b8ed27dbdc007215aa7051fa0cf93951fc701aedc56d1de60c

See more details on using hashes here.

File details

Details for the file tensorx_python-0.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensorx_python-0.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0c875dce24cd05af689f400f889a5753f62670fdb631a0b9133b2fba221739ec
MD5 1fa66fbe621ff658719b0a49aa211d0b
BLAKE2b-256 5b162deff530db8249b4bd64d209deb30488edab1ad1c16d51a24eac7ce663f1

See more details on using hashes here.

File details

Details for the file tensorx_python-0.0.2-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tensorx_python-0.0.2-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d8530f210388c9c8d49f91ce2a3e6004b91317e6c580700ca328b211f1790fc1
MD5 13a6a309560d2cfe3b41e34835e8daec
BLAKE2b-256 a7cd6ff7376f00710ca92658f993204f9712fd4f48d6ec8b0f35c13f53a47e58

See more details on using hashes here.

File details

Details for the file tensorx_python-0.0.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensorx_python-0.0.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8bfd8b299636221bd69158913a4cb45f264061776a93e1a54c1517e7ec0051ff
MD5 64a19c94bd13f6b1e9c65ddc17d532a3
BLAKE2b-256 23d219380f2addd56604e925013ed51d783fa7b9eb7a1122f021abf83db18993

See more details on using hashes here.

File details

Details for the file tensorx_python-0.0.2-cp39-cp39-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for tensorx_python-0.0.2-cp39-cp39-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c8e2fb9b06c7afd538d54baa3eba46af821a15a92c1d13a4cc058f21d5ee70ba
MD5 da00e9d539c85e0961f7893b094b68e2
BLAKE2b-256 4618b07e7a78ecafc4778a1fade10c6d0948d62b090690d3f8c0c3bdd9fdd506

See more details on using hashes here.

File details

Details for the file tensorx_python-0.0.2-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensorx_python-0.0.2-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8194d9c12bd0d51c6efc12f030c4108b4941a5fd2b717541b6f6b05310c97f42
MD5 3b0757d21430b095d094dcd4e5610794
BLAKE2b-256 b444ef8c565057463104e24bca24faff508b8e0e0e0e3ebfff9ac1a0a2e2162b

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