Skip to main content

Fast binary N-tensor message format for scientific data

Project description

Tensogram Python Bindings

Python bindings for Tensogram N-tensor message format.

Native extension with PyO3 and maturin. Supports NumPy arrays, async I/O, and GIL-free operation on Python 3.13t.

Installation

pip install tensogram

Usage

import numpy as np
import tensogram

data = np.random.randn(100, 200).astype(np.float32)
msg = tensogram.encode(
    {"version": 2},
    [({"type": "ntensor", "shape": [100, 200], "dtype": "float32",
       "compression": "szip"}, data)],
)
result = tensogram.decode(msg)
arr = result.objects[0][1]

Features

NumPy integration, async I/O, GIL-free parallel ops, partial decode, full codec support (szip, zstd, lz4, blosc2, zfp, sz3).

Documentation

License

Copyright 2026- ECMWF. Licensed under Apache-2.0. See LICENSE.

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.

tensogram-0.16.1-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl (5.7 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ x86-64

tensogram-0.16.1-cp314-cp314t-manylinux_2_39_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.14tmanylinux: glibc 2.39+ x86-64

tensogram-0.16.1-cp314-cp314t-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

tensogram-0.16.1-cp314-cp314-manylinux_2_28_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

tensogram-0.16.1-cp314-cp314-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

tensogram-0.16.1-cp313-cp313t-manylinux_2_39_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.39+ x86-64

tensogram-0.16.1-cp313-cp313t-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.13tmacOS 11.0+ ARM64

tensogram-0.16.1-cp313-cp313-manylinux_2_28_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

tensogram-0.16.1-cp313-cp313-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

tensogram-0.16.1-cp312-cp312-manylinux_2_28_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

tensogram-0.16.1-cp312-cp312-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

tensogram-0.16.1-cp311-cp311-manylinux_2_28_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

tensogram-0.16.1-cp311-cp311-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

tensogram-0.16.1-cp310-cp310-manylinux_2_28_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

tensogram-0.16.1-cp310-cp310-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

tensogram-0.16.1-cp39-cp39-manylinux_2_28_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

tensogram-0.16.1-cp39-cp39-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

Details for the file tensogram-0.16.1-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 04362ffc1122a7ea79e03cd626e2facfe8d6cd9296fc8bd74bc1e8a349c9a4f3
MD5 8f1297dcb4a386832fce80d6e28992f2
BLAKE2b-256 213608834340a29e5e07f87396cf093236cb2765482f6de812b35c1e5e161c20

See more details on using hashes here.

File details

Details for the file tensogram-0.16.1-cp314-cp314t-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-cp314-cp314t-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 2c49e29bc8da4384287975774eeed1c3abe00daca3a594b129642df8db68b8a1
MD5 28e1be18a9e071f0c7f0761ec492ac07
BLAKE2b-256 b88646d6dd126ac0cd06670cf2972177a5e8269b05cd093789034c13646d0785

See more details on using hashes here.

File details

Details for the file tensogram-0.16.1-cp314-cp314t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d0619a368f8d13017f91ddd58659959445341027cf5d6897397bf6d36deab512
MD5 74e90d9cfdf07f8880abdb2cb99815ef
BLAKE2b-256 5c1413e678a7f8ff38108e09f2d2c9c02de8cf80a0ebfc6a4565c27a276c6fdf

See more details on using hashes here.

File details

Details for the file tensogram-0.16.1-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ed95df36a0b28a8e1536937af1c29a206ff8eb01b5f6a05bd47a5e01c5ba2120
MD5 556c11fc8f4087bbe3264a0ae9afa3da
BLAKE2b-256 7999b6cc072421ba5f20c98a0aab3324337f4be3a85f99616791e42770fc117d

See more details on using hashes here.

File details

Details for the file tensogram-0.16.1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 93784324e86262547527d680ab6793b21787f676b90f77aea01a280800212de6
MD5 abe2c37042739b1fd8f52255e0d9b8a9
BLAKE2b-256 feece7f3e4617fbdfb04c607e8be93c2567e33ca279189dac4e13ed4042bff2c

See more details on using hashes here.

File details

Details for the file tensogram-0.16.1-cp313-cp313t-manylinux_2_39_x86_64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-cp313-cp313t-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 4047cc6aad33316de657f94dea26c7a906699c2a7093f494289e154fd6d3958d
MD5 b9ca97541e53553eff583e06fca5208b
BLAKE2b-256 d823409012ea8c6d1d5bd3c794fcc51143884e8842d05dde612a85e8e868397b

See more details on using hashes here.

File details

Details for the file tensogram-0.16.1-cp313-cp313t-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-cp313-cp313t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a00ced1c735e9bcf2f8817bce7377e3d9492cb6bb322493c48049ce97bb3fb98
MD5 9c127e795d9bd4b2084dc617baa6f81b
BLAKE2b-256 6e883894f6a5510970428869699e4fbc400f2e7492fae324a40c1f72ec38a88c

See more details on using hashes here.

File details

Details for the file tensogram-0.16.1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bced8cb2fecd36ae9f7da8a05f0ce34545d84285a966d00da63340af451bb768
MD5 038dccf7dc7b8d171c70353efec6f2c6
BLAKE2b-256 b03b411c2e776355ef59824a01224c796826783eb0de32a381843832d09c7b26

See more details on using hashes here.

File details

Details for the file tensogram-0.16.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 765b86a3cdd71bb2282f414458cef200335a949209dba26b285aabf6cfe71405
MD5 eb0f4970f8e21f2e83277353415ea590
BLAKE2b-256 933c2effc9f1bdd8be4dffdd927a8ab40b4631f90888c79214fcef227b1bef83

See more details on using hashes here.

File details

Details for the file tensogram-0.16.1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cd88ac58a9ae004ede8f462eaa7921ab377d25919cb3f364a9d6d31164fedb0d
MD5 a79cca27d011f86228d9e6c9248291c5
BLAKE2b-256 1f90e7a3d086f7833a17238aa696423dd57676782202ce923e7c204bec49d98e

See more details on using hashes here.

File details

Details for the file tensogram-0.16.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c96924b2a083667337c452abd7831db8f094c08af7802591842a726af69d35c7
MD5 0f760920cc94e8f9ab131e12940c9b45
BLAKE2b-256 7093729a02f4eaf86c7de54dd875459639be7c523e60a30eb290ddee5cd500c2

See more details on using hashes here.

File details

Details for the file tensogram-0.16.1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ef56734de6861abe1efca85d17c74a2a0982abdb9fbb9fc907402f9d49eb0eca
MD5 1b4310e698a40368752539b016f23cd2
BLAKE2b-256 f4a2abda6806e7edfaa786b910afbedf857b26bfe76be89a3f853bfbe4736900

See more details on using hashes here.

File details

Details for the file tensogram-0.16.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1edec992a6b17214cc6115513f6856b7c8f54d3a39f3644121f09edc63515599
MD5 5cf777cddc7597848881c9dc712d7ed5
BLAKE2b-256 777b3ac42c5fbf5ab783248f136d53e03c87c3190414c5bec0fbac66a04c1bc1

See more details on using hashes here.

File details

Details for the file tensogram-0.16.1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 de70340d49308a545539cb21ae177ac432bf339c1b3844ca2486c24e05d25f24
MD5 60a70d955cd6ac2c33e2b3acf6ed1d9f
BLAKE2b-256 766329eeaa60d104ef5a0b4d85eca4cbfa5d6ae4fb9dd73172db756ec54b9e0f

See more details on using hashes here.

File details

Details for the file tensogram-0.16.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2822df2d69ce56c370036572230f17c797b3cc6465b79e1a51e7378c31634b65
MD5 21d90cec1b71dabe2dffbc5219e0a8f0
BLAKE2b-256 d5fa5e41d6b6cb4625b5fac13c326670f27bced5e8cb99aaa261e872429fce17

See more details on using hashes here.

File details

Details for the file tensogram-0.16.1-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c5419d6dbdd3c229c55c211b976af742397b9c87d05158f8a97bd90350abe550
MD5 2e855384ed9be3785bfb702df22ad14a
BLAKE2b-256 1654aae56ba34d5afd9c7d94c6309d000c0cd8f6f3225c87ae6dd507108f7b73

See more details on using hashes here.

File details

Details for the file tensogram-0.16.1-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cd33efa1fa87405ce8c7e56875e60bd0ed420a12efd951e30c8b3ecd9b8771f4
MD5 485fbe8332556520ff2c888340f626df
BLAKE2b-256 902f007d420596f098ef105114f20a2bd9cfd4a207313fa2eee37b00c4be0a8b

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