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.)

stouputils print examples

Submodules#