from pathlib import Path


def project_name(path: str) -> str:
    """Returns a project name for the given path

    :path: A filesystem path to a directory. Directory does not have to contain an
    actual Entropy project"""
    return Path(path).absolute().name