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
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 | |
format_channels_rich ¶
format_channels_rich(channels)
format a list of channels into a rich Table
Source code in arrakis/format.py
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | |
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
183 184 185 | |