Installation pip install pnu-basename BASENAME(1), DIRNAME(1) This repository includes 2 Unix commands in 1: basename(1) - return filename or directory portion of pathname dirname(1) - return directory portion of pathname