stouputils.print.common module#

class PrintMemory[source]#

Bases: object

Class to store shared variables for print functions.

previous_args_kwards: tuple[Any, Any] = (("Sorted minor versions: ['1.24', '1.23', '1.22', '1.21', '1.20', '1.19', '1.18', '1.17', '1.16', '1.15', '1.14']",), {'color': '\x1b[92m', 'prefix': '', 'text': 'INFO '})#

Store the previous print call’s args and kwargs for comparison in is_same_print()

nb_values: int = 1#

Count how many times the same value has been printed in a row for is_same_print()

import_time: float = 1772110635.1853833#

Store the import time to determine how to format timestamps in current_time()