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.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl (5.7 MB view details)

Uploaded PyPymanylinux: glibc 2.28+ x86-64

tensogram-0.16.0-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.0-cp314-cp314t-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded CPython 3.14tmacOS 11.0+ ARM64

tensogram-0.16.0-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.0-cp314-cp314-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

tensogram-0.16.0-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.0-cp313-cp313t-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.13tmacOS 11.0+ ARM64

tensogram-0.16.0-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.0-cp313-cp313-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

tensogram-0.16.0-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.0-cp312-cp312-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

tensogram-0.16.0-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.0-cp311-cp311-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

tensogram-0.16.0-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.0-cp310-cp310-macosx_11_0_arm64.whl (5.1 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

tensogram-0.16.0-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.0-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.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensogram-0.16.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 57123be26b94c4d1d23f88ffe849bb43a76a4b1d21bec3089736632ed3583c65
MD5 fcd0733f20f61a972a1f08ed770c1fad
BLAKE2b-256 0f83cfb7aab86b4828de7eb09503289b148b500462137bb7c93faf52e69c3cf6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.16.0-cp314-cp314t-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 c0f506f239271b7876becb9330adb9ba6549774fe8031f07805fddd4d5491e71
MD5 4c47cf01a4f4c5f9dc5122f0c32310c9
BLAKE2b-256 f3b367c39d995375d16888b830a0b50ec49a48ff3d40b634b4a822ec1c41c109

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.16.0-cp314-cp314t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c13dd8b15f9e1618c4434137078cfae436cad9b9bdb235139ea6c0e0f918e7b1
MD5 5c9ca30b58abff150ebc6f428f7009e9
BLAKE2b-256 a443533f84326b221393050bd6c9eac2ad476ac429cb3152232208e710425384

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.16.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3bc69221e479dc689226c810a7f3e809b14272bd6597c46342864eb7918001cc
MD5 52c8c3b9a35d8fee1151d89dcc180769
BLAKE2b-256 147ffe43ba18c9b11d8ef8db361f0023aebbec904411f0e01ddc8f61a876dad8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.16.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f77aad7bd095e0312745fcd108c520f8ce0b1f9d012909ecfd36013631bee450
MD5 353c69c8abac4f6cb9d307b85794f52c
BLAKE2b-256 e5f4fce73311470851922d2d561376e3292c92b7c5e75a7a96152fa27edf3a81

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.16.0-cp313-cp313t-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 5b8b9feae0230a104f4b24d2514215e2a0fc6381a30d5c1aa6d6a87468b96172
MD5 b5f8780b28c817a2167a97be59fffeb5
BLAKE2b-256 2595a403158db3aafb9781f58315047b2b32017d1bc5152c4fd1ae28a94cddf9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.16.0-cp313-cp313t-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 98823d979c5ae99808244a6f6785b08504bf5ce5a170d3fd0a896675a98d6398
MD5 41ba1bbeaa97a8ca92a805a9a3a3c1cc
BLAKE2b-256 c391c6afc125b03e5539445f188d37d014fef3b5711dc7d10e1f30d12a675731

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.16.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 de0ca1e1ab19001941f116d88ba96c7398fd03c9c8924ada16cc4c686ff9b693
MD5 2c5eb2bc3dff493b42eafc62a92ae86e
BLAKE2b-256 9b576d658099263afd50b3cd8486833304a0991cf1c9a30c47bef0d34ff9eb58

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.16.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b06ae84018bc3739cbaa3fcad9f47125b88a879c5b4c54bd94fca72caa674445
MD5 ab99e8ca9c29dc06b2632f8d0b9d78c1
BLAKE2b-256 04c71cbe90fad0b391cf69c9e58c6d44635b3bcc5a6de9892174e5bb58803bc4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.16.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c3a551e8f6d54a99678ef071ad1d63df61df6c3914e2b0588e9a84ae4ceae770
MD5 933ad5c94f92dba1ce8e2bbf3c064c22
BLAKE2b-256 6034ad041937bb10112afa2c99d9bc3f5d11dd244dbf899847cf678ab2ceace5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.16.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b70b06605ef47b2b044b13f8010fd5569907d8d71c42a7fca035a15a4c522a70
MD5 986f1138ba97fb48dd1133b2a1e13673
BLAKE2b-256 a20849d63954d0dc2ddc1e0e22fd83ddf8228682dd81d9acdf5813ebbae879dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.16.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 61ef7bbc4b45f04912af79be48c54f0fa4012c8d5b28788b68ba5f011609a3f8
MD5 60cd614192cd7b8145abde9c63d8c5ca
BLAKE2b-256 5eb1aedbe320653275052bafd5eaa2468ba5e2aa827ecc01eebe2667f5ca452b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.16.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b011703332aa4bfa6d998da4d418cd7ef912c7a999377e77d087de9059d1b415
MD5 756d4ae56db89db6aa22e31299c77a02
BLAKE2b-256 9606341992fbae56aa496dad845ae4fceb57e487fa0482e0ad4ac8907fa70b92

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.16.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b5dbf9da2c436071d5982ea4eb4eaf3b9d1be33d6c2ba8e578fe6ba1fc3e733c
MD5 b35eaf607ab015d02a5cb7b27f23487e
BLAKE2b-256 0a500536b0cbd216d2511864ff5344027aa2ceafb400aaf7e5d43ba76fc091cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.16.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1f8bb053dae9f80dee6cd9fdddff2a2334d332612796af1d9546ddc5f19869e1
MD5 c272569374fa2f8fb0113a55615099ad
BLAKE2b-256 c18002524b4238ac0e6a892c5996041983b209f9faa5c46e91a070d045900b98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.16.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1e2a2bdff4c8cf66be7e6bb9fd28db0740beebdf75f30963a5eacbe98c8a77e9
MD5 57b6af4da20dfd4e9c5f9923cd3ca894
BLAKE2b-256 c129e86d1c229010bca0c92b95d34901b4d26a30c32f1be6d62be16e5aa63150

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.16.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e17006341869c885a6236e4af0dae4a00002a49fd9a6b6f2d074c8e75bf2488f
MD5 64551c6da65500266f15db728e0d8514
BLAKE2b-256 8562d7908cb5d6637a517bdb275850255c8fdc7c78c44df449ec9da1f8ccd6c6

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