|
Display TTY
1
Customise your terminal's output
|
Variables | |
| int | ERR = 1 |
| int | ERROR = ERR |
| int | SUCCESS = 0 |
| str | OUT_TTY = "tty" |
| str | OUT_STRING = "string" |
| str | OUT_FILE = "file" |
| str | OUT_DEFAULT = '' |
| str | KEY_OUTPUT_MODE = "OUTPUT_MODE" |
| str | KEY_PRETTIFY_OUTPUT = "PRETTIFY_OUTPUT" |
| str | KEY_PRETTIFY_OUTPUT_IN_BLOCKS = "PRETTY_OUTPUT_IN_BLOCS" |
| str | KEY_ANIMATION_DELAY = 'MESSAGE_ANIMATION_DELAY' |
| str | KEY_ANIMATION_DELAY_BLOCKY = 'MESSAGE_ANIMATION_DELAY_BLOCKY' |
| dict | TOML_CONF |
| dict | FORBIDDEN_NUMBER_LOG_LEVELS_CORRESPONDANCE |
| FORBIDDEN_NUMBER_LOG_LEVELS | |
| bool | SAVE_TO_FILE = False |
| str | FILE_NAME = "run_results.txt" |
| FILE_DESCRIPTOR = None | |
# +==== BEGIN display_tty =================+ # LOGO: # ..@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ # .@...........................#@ # @############################.@ # @...........................@.@ # @..#######################..@.@ # @.#########################.@.@ # @.##>_#####################.@.@ # @.#########################.@.@ # @.#########################.@.@ # @.#########################.@.@ # @.#########################.@.@ # @..#######################..@.@ # @...........................@.@ # @..+----+______________.....@.@ # @..+....+______________+....@.@ # @..+----+...................@.@ # @...........................@.# # @@@@@@@@@@@@@@@@@@@@@@@@@@@@@#. # /STOP # PROJECT: display_tty # FILE: constants.py # CREATION DATE: 06-11-2025 # LAST Modified: 12:29:5 06-11-2025 # DESCRIPTION: # A module that allows you to display text with a few boilers (i.e. put your text in a square for titles). It also allows to log to the terminal by wrapping around the logging library. # @file constants.py # @brief This is the file in charge of containing the constants used in the display_tty library. # @details This module defines constants and configuration settings used throughout the display_tty project. It includes error codes, output modes, animation delays,TOML configuration defaults, and forbidden log levels. # /STOP # COPYRIGHT: (c) Henry Letellier # PURPOSE: File in charge of containing the constants of the program. # // AR # +==== END display_tty =================+
| int display_tty.src.constants.ERR = 1 |
Definition at line 40 of file constants.py.
| int display_tty.src.constants.ERROR = ERR |
Definition at line 41 of file constants.py.
| display_tty.src.constants.FILE_DESCRIPTOR = None |
Definition at line 128 of file constants.py.
| str display_tty.src.constants.FILE_NAME = "run_results.txt" |
Definition at line 122 of file constants.py.
| display_tty.src.constants.FORBIDDEN_NUMBER_LOG_LEVELS |
Definition at line 107 of file constants.py.
| dict display_tty.src.constants.FORBIDDEN_NUMBER_LOG_LEVELS_CORRESPONDANCE |
Definition at line 96 of file constants.py.
| str display_tty.src.constants.KEY_ANIMATION_DELAY = 'MESSAGE_ANIMATION_DELAY' |
Definition at line 58 of file constants.py.
| str display_tty.src.constants.KEY_ANIMATION_DELAY_BLOCKY = 'MESSAGE_ANIMATION_DELAY_BLOCKY' |
Definition at line 60 of file constants.py.
| str display_tty.src.constants.KEY_OUTPUT_MODE = "OUTPUT_MODE" |
Definition at line 51 of file constants.py.
| str display_tty.src.constants.KEY_PRETTIFY_OUTPUT = "PRETTIFY_OUTPUT" |
Definition at line 52 of file constants.py.
| str display_tty.src.constants.KEY_PRETTIFY_OUTPUT_IN_BLOCKS = "PRETTY_OUTPUT_IN_BLOCS" |
Definition at line 54 of file constants.py.
| str display_tty.src.constants.OUT_DEFAULT = '' |
Definition at line 48 of file constants.py.
| str display_tty.src.constants.OUT_FILE = "file" |
Definition at line 47 of file constants.py.
| str display_tty.src.constants.OUT_STRING = "string" |
Definition at line 46 of file constants.py.
| str display_tty.src.constants.OUT_TTY = "tty" |
Definition at line 45 of file constants.py.
| bool display_tty.src.constants.SAVE_TO_FILE = False |
Definition at line 116 of file constants.py.
| int display_tty.src.constants.SUCCESS = 0 |
Definition at line 42 of file constants.py.
| dict display_tty.src.constants.TOML_CONF |
Definition at line 63 of file constants.py.