console#

定义一个“console”报告器后端。

此报告器后端提供 Conda 的默认输出。

#

QuietProgressBar

当不应打印输出时使用的进度条类

TQDMProgressBar

用于 tqdm 进度条的进度条类

Spinner

提供使用继承创建 ABC 标准方法的帮助类

QuietSpinner

提供使用继承创建 ABC 标准方法的帮助类

ConsoleReporterRenderer

Conda 中控制台报告的默认实现

函数#

conda_reporter_backends()

控制台的报告器后端

class QuietProgressBar(description: str, **kwargs)#

Bases: conda.plugins.types.ProgressBarBase

当不应打印输出时使用的进度条类

update_to(fraction) None#
refresh() None#
close() None#
class TQDMProgressBar(description: str, position=None, leave=True, **kwargs)#

Bases: conda.plugins.types.ProgressBarBase

用于 tqdm 进度条的进度条类

update_to(fraction) None#
close() None#
refresh() None#
static _tqdm(*args, **kwargs)#

Deferred import so it doesn't hit the conda activate paths.

class Spinner(message, fail_message='failed\n')#

Bases: conda.plugins.types.SpinnerBase

提供使用继承创建 ABC 标准方法的帮助类。

spinner_cycle#
start()#
stop()#
_start_spinning()#
__enter__()#
__exit__(exc_type, exc_val, exc_tb)#
class QuietSpinner(message: str, fail_message: str = 'failed\n')#

Bases: conda.plugins.types.SpinnerBase

提供使用继承创建 ABC 标准方法的帮助类。

__enter__()#
__exit__(exc_type, exc_val, exc_tb)#
class ConsoleReporterRenderer#

Bases: conda.plugins.types.ReporterRendererBase

Conda 中控制台报告的默认实现

detail_view(data: dict[str, str | int | bool], **kwargs) str#

以“表格”格式呈现输出。

envs_list(prefixes, output=True, **kwargs) str#

呈现环境列表

progress_bar(description: str, **kwargs) conda.plugins.types.ProgressBarBase#

确定是否返回 TQDMProgressBar 或 QuietProgressBar

spinner(message: str, fail_message: str = 'failed\n') conda.plugins.types.SpinnerBase#

确定是否返回 Spinner 或 QuietSpinner

prompt(message='Proceed', choices=('yes', 'no'), default='yes') str#

提示对话框的实现

conda_reporter_backends()#

控制台的报告器后端