constants package#

Submodules#

constants.dir_paths module#

constants.dir_paths.get_package_data_dir()[source]#

Get the appropriate data directory for the package based on platform.

Return type:

Path

constants.dir_paths.locate_academic_metrics_root(marker='COSC425-DATA')[source]#

Find the repository root directory.

Parameters:

marker (str | None) – Marker string to search for in the directory hierarchy. Defaults to “COSC425-DATA”.

Return type:

Path

constants.dir_paths.locate_src_root(repo_root=None)[source]#

Find the source code root directory (PythonCode).

Parameters:

repo_root (Path | None) – Repository root directory. Defaults to None.

Return type:

Path

Module contents#