from typing import Callable


def _parse_name(plugin: Callable) -> str:
    """Parse the name of a plugin by grabbing the last value from the __name__.split(".")."""
    return plugin.__name__.split(".")[-1]