stouputils.print package#
This module provides utility functions for printing messages with different levels of importance.
If a message is printed multiple times, it will be displayed as “(xN) message” where N is the number of times the message has been printed.
The module also includes a colored() function, which colors text in the Python 3.14 style:
file paths, line numbers and function names in magenta, and exception names in bold magenta.
All functions have their colored counterparts with a ‘c’ suffix (e.g., infoc(), debugc(), etc.)
Submodules#
- stouputils.print.color_formatting module
- stouputils.print.colorizer module
WordColorizerWordColorizer.colorWordColorizer.EXCEPTION_NAMESWordColorizer.BUILTIN_FUNCTIONSWordColorizer.KEYWORDSWordColorizer.AFFIX_PATTERNWordColorizer.QUOTED_PATTERNWordColorizer.NUMBER_PATTERNWordColorizer.WORD_SPLIT_PATTERNWordColorizer.wrap()WordColorizer.is_filepath()WordColorizer.is_number()WordColorizer.alphanumeric_of()WordColorizer.function_name_of()WordColorizer.colorize_function()WordColorizer.colorize_core()WordColorizer.colorize_word()WordColorizer.colorize_text()
- stouputils.print.common module
- stouputils.print.debugging module
- stouputils.print.message module
- stouputils.print.output_stream module
- stouputils.print.progress_tqdm module
- stouputils.print.utils module