import re


def DictStr(s: str) -> dict[str, str]:
    """Parse a string of format <KEY=VALUE, ...> into a dictionary of strings."""
    return dict((k.strip(), v.strip()) for k, v in (re.split(r'=\s|=', i) for i in re.split(r',\s|,', s)))