from pathlib import Path
from typing import Tuple


def split_path(file_path: Path) -> Tuple[str, str, str]:
    """
    Splits a path into its components: filename, basename, extension
    Example: ('v.png', 'v', 'png')
    :param file_path:
    :return: Tuple[str, str, str]
    """
    filename = file_path.parts[-1]
    basename, extension = filename.split(".")
    return filename, basename, extension