Skip to content

biopb.tensor

biopb.tensor

Tensor storage framework on Arrow Flight.

This package provides TensorStore-like framework built on Apache Arrow Flight for efficient multi-dimensional array storage and retrieval.

Key components: - TensorFlightClient: Client for accessing tensors from a TensorFlightServer - Connection: the data plane this machine's control names, dialed and shared - Proto messages: TensorTicket, ChunkBounds, TensorDescriptor, SliceHint - query / resolve hand back sources catalog rows; what you decode them into is yours - CLI diagnostics: biopb tensor command for inspecting sources and tensors

The CLI module provides the biopb tensor command with four subcommands: - query: List sources and tensors from a running server - metadata: Inspect source metadata and tensor descriptors - get: Download tensor data to file or stdout - stats: Compute min/max/mean statistics for a tensor

Note: Server components have been moved to the biopb-tensor-server package.

LocalTrustError

Bases: RuntimeError

The local data plane's TLS certificate could not be used as a trust anchor.

A distinct type because the layers above classify connect failures by substring, and the most likely cause here — an unreadable cert file — stringifies as [Errno 13] Permission denied. That matches an authentication marker, so a file-permission problem would be reported as "the server needs a token" and send the reader after a credential that has nothing to do with it. Matching on the type is exact, and no errno wording can break it.