format
Formatter
dataclass
¶
Formatter(name, desc, func)
class for storing an object formatter function
__call__ ¶
__call__(*args, **kwargs)
format object
Source code in arrakis/format.py
50 51 52 | |
format_block_rich ¶
format_block_rich(block)
format a SeriesBlock into a rich Table
Source code in arrakis/format.py
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | |
format_channels_rich ¶
format_channels_rich(channels)
format a list of channels into a rich Table
Source code in arrakis/format.py
112 113 114 115 116 117 118 119 120 121 122 123 124 | |
formatter ¶
formatter(obj, format='str')
format an object for printing to the screen
See FORMATTERS for available formats. If format is not specified the str representation of the object is returned.
Source code in arrakis/format.py
93 94 95 96 97 98 99 100 101 102 103 104 105 | |
print_rich ¶
print_rich(obj)
print a rich object to the screen
Source code in arrakis/format.py
167 168 169 | |