Buckets:

download
raw
259 Bytes
import shlex
def str2dict(s: str, fields: list | None = None) -> dict:
d=dict()
for elem in shlex.split(s):
key, value = elem.split('=')
if fields is None or key in fields:
d[key] = fields[key](value)
return d

Xet Storage Details

Size:
259 Bytes
·
Xet hash:
7e33688f4e84fe0fe8af5f3e4bb244eb3a629c7c220b327dedcecb587040feb7

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