colrev.package_manager.package_manager.PackageManager

class PackageManager[source]

Bases: object

The PackageManager provides functionality for package lookup and discovery

Methods

discover_installed_packages

Discover installed packages

discover_packages

Discover packages (registered in the CoLRev environment)

get_package_endpoint_class

Load a package endpoint

install

Install packages

install_project

Install all packages required for the CoLRev project

is_installed

Check if a package is installed

discover_installed_packages(*, package_type)[source]

Discover installed packages

Return type:

Dict

discover_packages(*, package_type)[source]

Discover packages (registered in the CoLRev environment)

Return type:

Dict

get_package_endpoint_class(*, package_type, package_identifier)[source]

Load a package endpoint

install(*, packages, upgrade=True, editable='', force_reinstall=True, no_cache_dir=True)[source]

Install packages

Return type:

None

install_project(*, review_manager, force_reinstall)[source]

Install all packages required for the CoLRev project

Return type:

None

is_installed(package_name)[source]

Check if a package is installed

Return type:

bool