Buckets:

soixantesept's picture
download
raw
409 Bytes
#!/usr/bin/env python3
import lzma,sys,tempfile as t,subprocess as s,pathlib as p
with t.TemporaryDirectory() as b:
b=p.Path(b,'b');b.write_bytes(lzma.open(p.Path(__file__).resolve().parent/'b.xz').read());b.chmod(493);w=b.parent/'w';v=b.parent/'v';v.write_bytes(lzma.open(p.Path(__file__).resolve().parent/'v.xz').read());v.chmod(493);s.check_call([b,'-d']+[sys.argv[1],w])
s.check_call([v,w,sys.argv[2]])

Xet Storage Details

Size:
409 Bytes
·
Xet hash:
151907c8cf766ff69f70d867e9381ed8be2758870420784bc2c041ce3e0d248e

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