console
#
Defines a "console" reporter backend.
This reporter backend provides the default output for conda.
Classes#
Progress bar class used when no output should be printed |
|
Progress bar class used for tqdm progress bars |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Default implementation for console reporting in conda |
Functions#
Reporter backend for console |
- class QuietProgressBar(description: str, **kwargs)#
Bases:
conda.plugins.types.ProgressBarBase
Progress bar class used when no output should be printed
- class TQDMProgressBar(description: str, position=None, leave=True, **kwargs)#
Bases:
conda.plugins.types.ProgressBarBase
Progress bar class used for tqdm progress bars
- 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
Helper class that provides a standard way to create an ABC using inheritance.
- 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
Helper class that provides a standard way to create an ABC using inheritance.
- __enter__()#
- __exit__(exc_type, exc_val, exc_tb)#
- class ConsoleReporterRenderer#
Bases:
conda.plugins.types.ReporterRendererBase
Default implementation for console reporting in conda
- detail_view(data: dict[str, str | int | bool], **kwargs) str #
Render the output in a "tabular" format.
- progress_bar(description: str, **kwargs) conda.plugins.types.ProgressBarBase #
Determines whether to return a TQDMProgressBar or QuietProgressBar
- spinner(message: str, fail_message: str = 'failed\n') conda.plugins.types.SpinnerBase #
Determines whether to return a Spinner or QuietSpinner
- conda_reporter_backends()#
Reporter backend for console