from typing import List
import re


def _extract_author_names(authors_list: List[str]) -> str:
    """
    Parse out only names from 'name <email>' list.

    Args:
        authors_list: List of authors in 'name <email>'
        format.

    Returns:
        author_names_csv: String with only the 'name' part
        extracted from 'name <email>'.
    """
    author_names = []

    for author in authors_list:

        # extract name of each author by removing
        # <email> portion from each list item
        name = re.sub(r" \<[^)]*\>", "", author)
        author_names.append(name)

    # create comma separated string from list of authors
    author_names_csv = ", ".join(map(str, author_names))
    return author_names_csv