turbopath

turbopath

auxiliary.turbopath.turbopath.name_extractor(input_path: str) str

Extracts the name of a file from the given input path.

Parameters:

input_path (str) – The path to the file.

Returns:

The name of the file without the extension.

Return type:

str

auxiliary.turbopath.turbopath.turbopath(input_path: str)

Normalize and convert a given input path to a normalized Path object.

Parameters:

input_path (str) – The input path to be processed.

Returns:

A Path object representing the normalized absolute path.

Return type:

Path