console
Symbol Details
class: RemoveLivePart
class RemoveLivePart: ...
Changes
| Version |
Change |
| 0.3.0 |
Made public |
function: add_renderable
def add_renderable(
renderable: ConsoleRenderable | RichCast | str, *, order: int = 0, name: str = ""
) -> RemoveLivePart: ...
Changes
| Version |
Change |
| 0.3.0 |
Made public |
def configure_logging(
app: Typer,
*,
settings: AskShellSettings | None = None,
app_pretty_exceptions_enable: bool = False,
app_pretty_exceptions_show_locals: bool = False,
skip_except_hook: bool = False,
use_app_name_command_for_logs: bool = True,
render_rich_error_on_sys_exit: bool = False,
) -> Handler: ...
Changes
| Version |
Change |
| 0.3.0 |
Made public |
function: get_live_console
def get_live_console() -> Console: ...
Changes
| Version |
Change |
| 0.3.0 |
Made public |
function: interactive_shell
def interactive_shell() -> bool: ...
Changes
| Version |
Change |
| 0.3.0 |
Made public |
function: log_to_live
def log_to_live(
*objects,
sep: str = " ",
end: str = "\n",
style: str | Style | None = None,
justify: Literal[default, left, center, right, full] | None = None,
emoji: bool | None = None,
markup: bool | None = None,
highlight: bool | None = None,
log_locals: bool = False,
_stack_offset: int = 1,
) -> None: ...
Changes
| Version |
Change |
| 0.3.0 |
Made public |
class: new_task
class new_task:
description: str
total: float = 1
visible: bool = True
task_fields: dict = ...
log_after_remove: bool = True
log_updates: bool = False
manager: ProgressManager = ...
completed: float = 0.0
| Field |
Type |
Default |
Since |
| description |
str |
- |
0.3.0 |
| total |
float |
1 |
0.3.0 |
| visible |
bool |
True |
0.3.0 |
| task_fields |
dict |
... |
0.3.0 |
| log_after_remove |
bool |
True |
0.3.0 |
| log_updates |
bool |
False |
0.3.0 |
| manager |
ProgressManager |
... |
0.3.0 |
| completed |
float |
0.0 |
0.3.0 |
Changes
| Version |
Change |
| 0.3.0 |
Made public |
function: print_to_live
def print_to_live(
*objects,
sep: str = " ",
end: str = "\n",
style: str | Style | None = None,
justify: Literal[default, left, center, right, full] | None = None,
overflow: Literal[fold, crop, ellipsis, ignore] | None = None,
no_wrap: bool | None = None,
emoji: bool | None = None,
markup: bool | None = None,
highlight: bool | None = None,
width: int | None = None,
height: int | None = None,
crop: bool = True,
soft_wrap: bool | None = None,
new_line_start: bool = False,
): ...
Changes
| Version |
Change |
| 0.3.0 |
Made public |
function: disable_interactive_shell
def disable_interactive_shell() -> None: ...
Force non-interactive mode for the remainder of this process.
Changes
| Version |
Change |
| 0.9.0 |
Made public |
class: LivePrintContext
class LivePrintContext:
prefix: str = ""
suppress: bool = False
| Field |
Type |
Default |
Since |
| prefix |
str |
'' |
0.10.0 |
| suppress |
bool |
False |
0.10.0 |
Changes
| Version |
Change |
| 0.10.0 |
Made public |
function: get_live_print_context
def get_live_print_context() -> LivePrintContext | None: ...
Changes
| Version |
Change |
| 0.10.0 |
Made public |
function: live_print_scope
def live_print_scope(*, prefix: str = "", suppress: bool = False) -> Iterator[None]: ...
Changes
| Version |
Change |
| 0.10.0 |
Made public |