import pathlib


def get_basename_without_extension(path_file: pathlib.Path) -> str:
    """
    conveniance function - who remembers "stem"
    >>> get_basename_without_extension(pathlib.Path('//main/xyz/test.txt'))
    'test'
    >>> get_basename_without_extension(pathlib.Path('//main/xyz/test'))
    'test'
    >>> get_basename_without_extension(pathlib.Path('//main/xyz/test.txt.back'))
    'test.txt'
    >>> get_basename_without_extension(pathlib.Path('//main/xyz/.test'))
    '.test'
    >>> get_basename_without_extension(pathlib.Path('//main/xyz/.test.txt'))
    '.test'

    """
    basename = path_file.stem
    return basename