Buckets:

redmingwei's picture
download
raw
279 Bytes
import os, json
out = {}
try:
out['/ds'] = sorted(os.listdir('/ds'))[:10]
except Exception as e:
out['/ds'] = f'ERR {e}'
try:
out['/ds/size'] = os.path.getsize('/ds/timeseries.npy')
except Exception as e:
out['/ds/size'] = str(e)
print(json.dumps(out, indent=1))

Xet Storage Details

Size:
279 Bytes
·
Xet hash:
6491bf7d3987f77c0ab94acf777af80303fad94154386c28cd771c6f0692d0ef

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