def get_pycache(source, names):
    """
    gets all `__pycache__` directories available in names.

    :param str source: source directory of contents.
    :param list[str] names: name of all contents in source.

    :rtype: list[str]
    """

    return [name for name in names if '__pycache__' in name]