def package_list():
    # Send the command to execute
    out, err = DETAILS['server'].sendline('pkg_list\n')

    # "scrape" the output and return the right fields as a dict
    return parse(out)
List "packages" by executing a command via ssh
dataset/ETHPy150Open saltstack/salt/salt/proxy/ssh_sample.py/package_list