local_files_utils#

Attributes#

Functions#

crawl_local_repo([directory_path])

Crawls a local directory to retrieve file paths based on specified criteria.

extract_python_code_from_py(local_file_path)

extract_python_code_from_ipynb(local_file_path[, ...])

Module Contents#

local_files_utils.mypath[source]#
local_files_utils.DIRECTORY_PATH[source]#
local_files_utils.crawl_local_repo(directory_path: str = DIRECTORY_PATH)[source]#

Crawls a local directory to retrieve file paths based on specified criteria.

Parameters:

directory_path (str) – The path to the local project directory.

Returns:

List of file paths that match the criteria.

Return type:

list

local_files_utils.extract_python_code_from_py(local_file_path)[source]#
local_files_utils.extract_python_code_from_ipynb(local_file_path, cell_type='code')[source]#