Buckets:

download
raw
346 Bytes
from pathlib import Path
import h5py
import numpy
from tiled.server.etag import tokenize
def test_deterministic_h5py_dataset(tmpdir):
file = h5py.File(Path(tmpdir, "test.h5"), "w")
group = file.create_group("stuff")
dataset = group.create_dataset("data", data=numpy.ones((3, 3)))
assert tokenize(dataset) == tokenize(dataset)

Xet Storage Details

Size:
346 Bytes
·
Xet hash:
4ab40387898584bc044cc9d0c5249491624123b545ffb5a9c16485736f174810

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.