parameters: (
          cls,
          project_name,         # type: str
          target_python=None,   # type: Optional[TargetPython]
          prefer_binary=False,  # type: bool
          allow_all_prereleases=False,  # type: bool
          specifier=None,       # type: Optional[specifiers.BaseSpecifier]
          hashes=None,          # type: Optional[Hashes]
      )
return_statement: return cls(
              project_name=project_name,
              supported_tags=supported_tags,
              specifier=specifier,
              prefer_binary=prefer_binary,
              allow_all_prereleases=allow_all_prereleases,
              hashes=hashes,
          )
docstring: Create a CandidateEvaluator object.
  
          :param target_python: The target Python interpreter to use when
              checking compatibility. If None (the default), a TargetPython
              object will be constructed from the running Python.
          :param specifier: An optional object implementing `filter`
              (e.g. `packaging.specifiers.SpecifierSet`) to filter applicable
              versions.
          :param hashes: An optional collection of allowed hashes.
docstring_summary: Create a CandidateEvaluator object.
docstring_tokens: Create a CandidateEvaluator object .
function: def create(
          cls,
          project_name,         # type: str
          target_python=None,   # type: Optional[TargetPython]
          prefer_binary=False,  # type: bool
          allow_all_prereleases=False,  # type: bool
          specifier=None,       # type: Optional[specifiers.BaseSpecifier]
          hashes=None,          # type: Optional[Hashes]
      ):
          # type: (...) -> CandidateEvaluator
          """Create a CandidateEvaluator object.
  
          :param target_python: The target Python interpreter to use when
              checking compatibility. If None (the default), a TargetPython
              object will be constructed from the running Python.
          :param specifier: An optional object implementing `filter`
              (e.g. `packaging.specifiers.SpecifierSet`) to filter applicable
              versions.
          :param hashes: An optional collection of allowed hashes.
          """
          if target_python is None:
              target_python = TargetPython()
          if specifier is None:
              specifier = specifiers.SpecifierSet()
  
          supported_tags = target_python.get_tags()
  
          return cls(
              project_name=project_name,
              supported_tags=supported_tags,
              specifier=specifier,
              prefer_binary=prefer_binary,
              allow_all_prereleases=allow_all_prereleases,
              hashes=hashes,
          )
function_tokens: def create ( cls , project_name , # type: str target_python = None , # type: Optional[TargetPython] prefer_binary = False , # type: bool allow_all_prereleases = False , # type: bool specifier = None , # type: Optional[specifiers.BaseSpecifier] hashes = None , # type: Optional[Hashes] ) : # type: (...) -> CandidateEvaluator if target_python is None : target_python = TargetPython ( ) if specifier is None : specifier = specifiers . SpecifierSet ( ) supported_tags = target_python . get_tags ( ) return cls ( project_name = project_name , supported_tags = supported_tags , specifier = specifier , prefer_binary = prefer_binary , allow_all_prereleases = allow_all_prereleases , hashes = hashes , )