def get_part_name(reference: str) -> str:
    """
    Extracts the part name from a passed in SBOL Component reference.

    Args:
        reference: Input string. Should look something like
        <https://synbiohub.programmingbiology.org/user/wrjackso/test/
        Design0_Group1_Object2/pTet_Component/1>

    Returns:
        Base Component Name. With above example, would be 'pTet'

    """
    return reference.split("/")[-2].split("_Component")[0]