Display TTY  1
Customise your terminal's output
Loading...
Searching...
No Matches
instances.py
Go to the documentation of this file.
1"""
2# +==== BEGIN display_tty =================+
3# LOGO:
4# ..@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
5# .@...........................#@
6# @############################.@
7# @...........................@.@
8# @..#######################..@.@
9# @.#########################.@.@
10# @.##>_#####################.@.@
11# @.#########################.@.@
12# @.#########################.@.@
13# @.#########################.@.@
14# @.#########################.@.@
15# @..#######################..@.@
16# @...........................@.@
17# @..+----+______________.....@.@
18# @..+....+______________+....@.@
19# @..+----+...................@.@
20# @...........................@.#
21# @@@@@@@@@@@@@@@@@@@@@@@@@@@@@#.
22# /STOP
23# PROJECT: display_tty
24# FILE: instances.py
25# CREATION DATE: 06-11-2025
26# LAST Modified: 12:26:43 06-11-2025
27# DESCRIPTION:
28# 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.
29# /STOP
30# COPYRIGHT: (c) Henry Letellier
31# PURPOSE: File in charge of containing initialised instances that can be used on the go without the calling program having to initialise it themself.
32# // AR
33# +==== END display_tty =================+
34"""
35
36from .my_disp import Disp
37from .constants import TOML_CONF, SAVE_TO_FILE, FILE_NAME
38
39TMP = None # linter bypass for a false positive of statement has no effect
40
41"""
42@var IDISP
43@brief Initialised instance of the Disp class with default configuration.
44"""
45IDISP = Disp(
46 TOML_CONF,
47 SAVE_TO_FILE,
48 FILE_NAME,
49)
50
51"""
52@var IDISPLAY
53@brief Alias for IDISP.
54"""
55IDISPLAY = IDISP
56
57"""
58@var IDISPTTY
59@brief Alias for IDISP.
60"""
61IDISPTTY = IDISP
62
63"""
64@var IDTTY
65@brief Alias for IDISP.
66"""
67IDTTY = IDISP