def _search_software(target):
 search_results = {}
 software = dict(_get_reg_software().items())
 for (key, value) in six.iteritems(software):
  if (key is not None):
   if (target.lower() in key.lower()):
    search_results[key] = value
 return search_results

def _search_software ( target ) : search_results = { } software = dict ( _get_reg_software ( ) . items ( ) ) for ( key , value ) in six . iteritems ( software ) : if ( key is not None ) : if ( target . lower ( ) in key . lower ( ) ) : search_results [ key ] = value return search_results
this searches the msi product databases for name matches of the list of target products .