conda_recipe_manager.scanner.dependency.py_dep_scanner

Description:

Provides a Dependency Scanner class capable of finding dependencies in a Python project's source code.

Classes

PythonDependencyScanner(src_dir)

Dependency Scanner class capable of scanning Python source code.

class conda_recipe_manager.scanner.dependency.py_dep_scanner.PythonDependencyScanner(src_dir: Path | str)[source]

Bases: BaseDependencyScanner

Dependency Scanner class capable of scanning Python source code.

get_message_table() MessageTable

Returns the internal message table.

Returns:

Message table object containing logged messages.

scan() set[ProjectDependency][source]

Actively scans a project for dependencies.

Returns:

A set of unique dependencies found by the scanner.