utils#

Health check: Helpful shared functions for performing health checks.

Functions#

get_spec_str_from_conda_meta(prefix, packages) → tuple[list[str], list[str]]

Get a list of specs (specified with name, version, and build) from the prefix

get_name_from_conda_meta_file_name(conda_meta_filename) → str

Given the name of a package conda_meta file, extract the name of the package

Attributes#

logger#
get_spec_str_from_conda_meta(prefix: str, packages: list[str]) → tuple[list[str], list[str]]#

Get a list of specs (specified with name, version, and build) from the prefix matching the name of the requested packages. The conda-meta is generally assumed to be intact. However, if the name, version or build metadata is incomplete, the package will be skipped.

get_name_from_conda_meta_file_name(conda_meta_filename: str) → str#

Given the name of a package conda_meta file, extract the name of the package