tepkit.utils.rich_tools#
Attributes#
|
Classes#
A class wapper for print_table function, avoiding pass the same arguments repeatedly. |
Functions#
|
|
|
A function to easily print a dict as a Rich table. |
|
Module Contents#
- PANEL_PRESETS
- print_panel(content: str, preset: str = None, **kwargs) rich.panel.Panel #
- print_table(dictionary: dict, title: str = '', key: str = 'Keys', value: str = 'Values', table_options: dict = None, key_options: dict = None, value_options: dict = None) rich.table.Table #
A function to easily print a dict as a Rich table.
- Parameters:
dictionary
title
key
value
table_options
key_options
value_options
- Returns:
- print_args(args) rich.table.Table #