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

Uploaded PyPymanylinux: glibc 2.28+ x86-64

tensogram-0.14.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.14.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.14.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.14.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.14.0-cp313-cp313-macosx_11_0_arm64.whl (5.0 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10macOS 11.0+ ARM64

tensogram-0.14.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.14.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.14.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensogram-0.14.0-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 674d372750ff5a5306fc0fc115c5d3aa2fbb36ef1008a75b0d754dd9aee1ca4d
MD5 273e23fd23edf0ad27a3a4772814d165
BLAKE2b-256 2033034a39069f750f8a013fae4655d5d07674a43dd264c487b0cc4478613a37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.14.0-cp314-cp314t-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 57424834bf36c77b63db5d944e487a91b8534e80d66c9702668f7b25d705a226
MD5 c80318efbf5d5f07f8d493e5ffa401de
BLAKE2b-256 db8552d5c88ea60187c0e9e81c31bfb89e87a1468e353362dab13d36a3bbac46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.14.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 24e8ebbfff97e05850f547d13566ec2bc4cb3d83b1817d499ae500136ef14983
MD5 1358ecff61829c1003078536b61a3e26
BLAKE2b-256 85cc64e2ded0d1c8fd89ce84a56e4de84f1dff5faa5e6bde1ab2998416f984c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.14.0-cp313-cp313t-manylinux_2_39_x86_64.whl
Algorithm Hash digest
SHA256 0484f0cbda0a5c36ede0e9448c32c59778360965b2f1997ff449b93e2ff3d191
MD5 e19c81a548499d432c9b770cd639cf4e
BLAKE2b-256 fe381bc7ba9dbf47a39f3f61f102a926879877ef318481d0afc49ff905a2471c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.14.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6f2f3a594eb74649759bb2c7c6e7b8fc85cdbab277892a9c4887acfa377df9e9
MD5 1979135f4e4570a263d5c74f2598f964
BLAKE2b-256 afac39ccea112c3057a45c4a1691ec058cd7807c04f908ee5181b93f8c640843

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.14.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eb9f8970822b0730911a17f2af3eed83137eccc79160de1f276b72643b96ba9b
MD5 54f3d26bb5e915063c52ac1182f03c61
BLAKE2b-256 dd1eb84df3a48d7bdaf09da0967aba18cffbdc9c7a0f86686b097a307336a15b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.14.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 acd1aba07e81443906d9f87799c03ccaafc00a66cde93385a8393434d4db9079
MD5 5922560f29596c89b37156c72bd248c2
BLAKE2b-256 d9f7da9bb4c2b2ec1768d530d6cf6e4d8ecaa0612ef54029c6c9ead78707f959

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.14.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3de858a2bc4e1df022a5705ae9d489c61753586b201c0f256939df224f7c8ea3
MD5 f59513906352eadde076a73baffcca4f
BLAKE2b-256 e0a02d95ef8bded7316aba9c246e90186602cb4fc7754a735fb82eecdcf845b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.14.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aca9e9a48e2dab774e1092684be29f5f8f22be1bdc274c194bf4d5ebd583cffe
MD5 a3495709fe46fca11e6caa9abab09f50
BLAKE2b-256 021d6baa94549204520489307f1c325717ca8e498a57f9d659585985fd1a67cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.14.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d9a655061fddd9f05556d6643857e371d7c637319a81e0ebb767d892cf0de845
MD5 83a2b6f0795033fdff3b99d903ec1fdc
BLAKE2b-256 4905001c98501bb27a4ba3c3d0cb488fb1cdfbcbaa4fbc3401a80864695aa6c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.14.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 627ef5cec445515c55c9725b6c60468032be684446fa954a44f8eabd91c5fadd
MD5 c7689a494e723e945afbdbb31110ec5b
BLAKE2b-256 de4eeb6ada1507e0fbaadff5ac4496e91f82ef0d2d3c1f4eda76819870f50f09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.14.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 76793cc48f1451ac56eadaa585d9b5aba042d1de0fc6c7eb733f0d0207b574dd
MD5 4fdcb10f946127cd3675f0052383cffa
BLAKE2b-256 b24beba4e1ceb2ce92d1a852684b52aed251e09cd42efdbfb26d5927440a0ae4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.14.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 99dee262e612d8f925028bd5b35b3e29e034563eaee6a2e47f0b2be1fa1b8c36
MD5 89a2e6dfa7aec73a324087efbdd56772
BLAKE2b-256 bc825ca40252b3bb8480bd3193df3bc42f923edab6f06e560878d2c2a25055bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensogram-0.14.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f15ee5ea05aca88f9bd942396e5f83b9d4079be75e44eb9370c06396e8c415a4
MD5 d33ce6ddfb333e6711ac13ae8365988b
BLAKE2b-256 ee98ce6557b04cf9997e2b277c8864be48bc9e3d9241b23041c5321f38ca0adf

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