soapypower/__main__.py
def device_settings(string):
    """Convert string with SoapySDR device settings to dict"""
    if not string:
        return {}

    settings = {}
    for setting in string.split(','):
        setting_name, value = setting.split('=')
        settings[setting_name.strip()] = value.strip()
    return settings
def device_settings(string):
    if not string:
        return {}

    settings = {}
    for setting in string.split(','):
        setting_name, value = setting.split('=')
        settings[setting_name.strip()] = value.strip()
    return settings
def device_settings ( string ) : if not string : return { } settings = { } for setting in string . split ( ',' ) : setting_name , value = setting . split ( '=' ) settings [ setting_name . strip ( ) ] = value . strip ( ) return settings
Convert string with SoapySDR device settings to dict
Convert string with SoapySDR device settings to dict