(
        self,
        project_name,       # type: str
        specifier=None,     # type: Optional[specifiers.BaseSpecifier]
        hashes=None,        # type: Optional[Hashes]
    )
return candidate_evaluator.make_found_candidates(candidates)
Find matches for the given project and specifier.

        :param specifier: An optional object implementing `filter`
            (e.g. `packaging.specifiers.SpecifierSet`) to filter applicable
            versions.

        :return: A `FoundCandidates` instance.
Find matches for the given project and specifier.
Find matches for the given project and specifier .
def find_candidates(
        self,
        project_name,       # type: str
        specifier=None,     # type: Optional[specifiers.BaseSpecifier]
        hashes=None,        # type: Optional[Hashes]
    ):
        # type: (...) -> FoundCandidates
        """Find matches for the given project and specifier.

        :param specifier: An optional object implementing `filter`
            (e.g. `packaging.specifiers.SpecifierSet`) to filter applicable
            versions.

        :return: A `FoundCandidates` instance.
        """
        candidates = self.find_all_candidates(project_name)
        candidate_evaluator = self.make_candidate_evaluator(
            project_name=project_name,
            specifier=specifier,
            hashes=hashes,
        )
        return candidate_evaluator.make_found_candidates(candidates)
def find_candidates ( self , project_name , # type: str specifier = None , # type: Optional[specifiers.BaseSpecifier] hashes = None , # type: Optional[Hashes] ) : # type: (...) -> FoundCandidates candidates = self . find_all_candidates ( project_name ) candidate_evaluator = self . make_candidate_evaluator ( project_name = project_name , specifier = specifier , hashes = hashes , ) return candidate_evaluator . make_found_candidates ( candidates )