acq400_print

UI functions for cmd line

class PR_NORMAL[source]

Bases: object

Red(end='\n')[source]
Green(end='\n')[source]
Yellow(end='\n')[source]
Purple(end='\n')[source]
Cyan(end='\n')[source]
Blue(end='\n')[source]
Reverse(end='\n')[source]
Bold(end='\n')[source]
class PR_FANCY[source]

Bases: object

Colored print options

Red(end='\n')[source]
Green(end='\n')[source]
Yellow(end='\n')[source]
Purple(end='\n')[source]
Cyan(end='\n')[source]
Blue(end='\n')[source]
Reverse(end='\n')[source]
Bold(end='\n')[source]
PR

alias of PR_FANCY

class DISPLAY[source]

Bases: object

Prints text over previous text for a live display effect

FORMAT_CODES = {'BLUE': '\x1b[94m', 'BOLD': '\x1b[1m', 'CYAN': '\x1b[96m', 'GREEN': '\x1b[38;5;82m', 'ORANGE': '\x1b[38;5;208m', 'PURPLE': '\x1b[95m', 'RED': '\x1b[38;5;196m', 'RESET': '\x1b[00m', 'REVERSE': '\x1b[7m', 'TAB': '\t', 'UNDERLINE': '\x1b[4m', 'YELLOW': '\x1b[93m'}
__init__()[source]
add(*args)[source]
end()[source]
add_line(*args)[source]
cache_line(index, *args)[source]
add_cached_line(index)[source]
render_interrupted()[source]
render(loop=True)[source]
get_buffer()[source]
pprint(item, indent=2, to_string=False)[source]

Prints dict with nice formatting

unit_test()[source]