WrightTools.kit.get_path_matching

WrightTools.kit.get_path_matching(name: str) Path[source]

Non-recursive search for path to the folder “name”. Searches the user directory, then looks up the cwd for a parent folder that matches.

Parameters:

name (string) – name of directory to search for.

Returns:

Full filepath to directory name.

Return type:

pathlib.Path