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

Uploaded PyPymanylinux: glibc 2.28+ x86-64

tensogram-0.15.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.15.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.15.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.15.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.15.0-cp313-cp313-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

tensogram-0.15.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.15.0-cp312-cp312-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

tensogram-0.15.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.15.0-cp311-cp311-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

tensogram-0.15.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.15.0-cp310-cp310-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

tensogram-0.15.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.15.0-cp39-cp39-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for tensogram-0.15.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9efbd8ffb4bf342030e580f10bd6aabb283cfab5f3ff5d242ba157db65933004
MD5 ee06369ab5543781508d28d333700fe0
BLAKE2b-256 a578d8331302c7a2eda2014c78200fae4f2f5aa0e6a9ac12658f7f7b2c2c8412

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.15.0-cp314-cp314t-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 8e728c19c06461f34cd142d1c3008edbaf17c719d7145770ff241d8049aab00e
MD5 0709d88ced186dcbd79aaf6a1a541941
BLAKE2b-256 488817224f14628c61968145cc38bafec28242e0ca20aead0c889b14e1789b75

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.15.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9665fab0ecca5163de51bb7b0fb842bae0b8c1af1c8684cea389b1523e9c400c
MD5 9251f9fc7b0175ee482bbc55a2d37927
BLAKE2b-256 5730c9260b0a14472f931f484046ec198784e1d26fbb74e50133ee3fc06c8feb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.15.0-cp313-cp313t-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 657b9e1db97eaf5a3ac75855cc1d06decaa43b4456de597aeb5e5f9fc403b116
MD5 f3f09a18dd26a1b89266c17e384a7f6b
BLAKE2b-256 b9e0491ccc733e9280b3e118f25ac881940995abeac5d3a572f019c7db43596d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.15.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8ee5c10efd0552fb599fd9ffcabc2edb112d2b1bd15a8b46d6679fe95bf99c75
MD5 7a335a542ea4c4c2f197ffabdd8d2701
BLAKE2b-256 d8549afab642bea260e1cc592b639cdb493286dd327fd2e49e6c79027baaca90

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.15.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 480640da70ef7ff5a621b811d390b389d4733a33b5675bf6443805e296c26b31
MD5 6cdf16debc23af7bfa5e35fe99b09cd4
BLAKE2b-256 e8ad3edff70acc12a4cfd8bd33d56322184760a3951ecf7d344f5b287f0cae07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.15.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aea0191d589d519de14e9cf8ba9057ac3735cbed330ce8269d72a7269fea6ded
MD5 e77c2510935499bd820529955bf3880a
BLAKE2b-256 18a5a04df86f8937d9e3d0843a7e6a2b6052a7fcac315961a801604d2fe69b96

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.15.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 24548dfbb6856c05685db4a50457f334db6030c33267edeed4bb7272de17984d
MD5 d995286e78a56956c7d6c0d07a04286f
BLAKE2b-256 3261d0f0ccc933ecb90695b69a5dd0cbee7c9f01f9c2b6cfb05ab645e8ba454e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.15.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aa1c603cef5ef88753b995350a961acfa68d824acf8cd2d74ad6b09aa353ea34
MD5 2b71bc3b8c883d0e772d5987c91b814e
BLAKE2b-256 9ea060e3874f07dac47f1307c97c77ca4eb3d9781ba937470e728102157bd0d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.15.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5fc24fd52ccdbedbf71b2387aac785e76f0776daee4b37973e9872ded8687934
MD5 b878a46f46508249fb4275faa974ce42
BLAKE2b-256 a6564f0ae2c1bdd4ebb5347f51fd768e626647f12a1f34cff7b4cc8e0eeb0841

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.15.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cea810e407f4303b75b21b45a496672c2ed8790838d7b37c86354348e43a142f
MD5 11561bb7c9332775b1f6d8ca142c9629
BLAKE2b-256 ae3c51024e004e109c9ca4f19b69380026df47bb280f4e752aec9cb292d33d98

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.15.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 72380240cddd52ffc6619f79b3ef46ca1d66ad0bcafcb60a5ec107a429ad1fe3
MD5 b8940b9202bdcb7a1c5dd619890a7faa
BLAKE2b-256 7b29fd8702f6e4cc1e3118d3e6404be437ee16285aad0c7aabc3949c822e243c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.15.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5d1376e56f798ce7f274d8aeebf4d00f106f8a828f61d49a5eefd987dedeee1b
MD5 e668b9707003b6944d63110e97a80f1e
BLAKE2b-256 ded0c2031befe86d1654defe65c2c186b5f716eccd64f90ef2855afaa367882d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.15.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 acede921f59439110bb7b888be06bc08f002a3405179f0be57da6e996f5f2f24
MD5 514d7e168a8916234505f4e93b2eeb1f
BLAKE2b-256 6c2fb2cbf5e80de709854f4a22b48cd3375791edbc6df0602d4622ee5a506a05

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