code: def _best_matchs(self, name, pkgs):
      # If imported name equals to package name.
      if name in pkgs:
          return [pkgs[pkgs.index(name)]]
      # If not, return all possible packages.
      return pkgs
  
file_path: clearml/clearml/utilities/pigar/__main__.py
imports: from __future__ import print_function, division, absolute_import
  import os
  import codecs
  import six
  from .reqs import project_import_modules, is_std_or_local_lib, is_base_module
  from .utils import lines_diff
  from .log import logger
  from .modules import ReqsModules
label_desc: Use image node_id 6 for calling the GenerateReqs obj's underlying member method code with example usage: obj._best_matchs(name, pkgs) and returns: pkgs, list