logger-36 2024.1__py3-none-any.whl → 2025.4__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (67) hide show
  1. logger_36/__init__.py +64 -42
  2. logger_36/api/logger.py +53 -0
  3. logger_36/api/storage.py +53 -0
  4. logger_36/catalog/config/console_rich.py +76 -0
  5. logger_36/catalog/handler/console.py +117 -0
  6. logger_36/catalog/handler/console_rich.py +235 -0
  7. logger_36/catalog/handler/file.py +128 -0
  8. logger_36/catalog/handler/generic.py +230 -0
  9. logger_36/catalog/logger/chronos.py +61 -0
  10. logger_36/catalog/logger/gpu.py +90 -0
  11. logger_36/catalog/logger/memory.py +129 -0
  12. logger_36/catalog/logger/system.py +84 -0
  13. logger_36/config/issue.py +56 -0
  14. logger_36/config/logger.py +103 -0
  15. logger_36/config/memory.py +54 -0
  16. logger_36/config/message.py +66 -0
  17. logger_36/config/system.py +70 -0
  18. logger_36/constant/error.py +70 -0
  19. logger_36/constant/generic.py +58 -0
  20. logger_36/constant/handler.py +58 -0
  21. logger_36/constant/issue.py +58 -0
  22. logger_36/constant/logger.py +67 -0
  23. logger_36/constant/memory.py +58 -0
  24. logger_36/constant/message.py +72 -0
  25. logger_36/constant/record.py +55 -0
  26. logger_36/constant/system.py +60 -0
  27. logger_36/content.py +55 -0
  28. logger_36/exception.py +105 -0
  29. logger_36/gpu.py +53 -0
  30. logger_36/handler.py +209 -0
  31. logger_36/instance/logger.py +55 -0
  32. logger_36/instance/loggers.py +56 -0
  33. logger_36/memory.py +60 -0
  34. logger_36/storage.py +53 -0
  35. logger_36/system.py +53 -0
  36. logger_36/task/format/memory.py +132 -0
  37. logger_36/task/format/message.py +111 -0
  38. logger_36/task/format/rule.py +74 -0
  39. logger_36/task/inspection.py +70 -48
  40. logger_36/task/measure/chronos.py +84 -0
  41. logger_36/task/measure/memory.py +72 -0
  42. logger_36/task/storage.py +127 -46
  43. logger_36/time.py +54 -0
  44. logger_36/type/handler.py +184 -0
  45. logger_36/type/issue.py +91 -0
  46. logger_36/type/logger.py +542 -0
  47. logger_36/type/loggers.py +78 -0
  48. logger_36/version.py +53 -32
  49. logger_36-2025.4.dist-info/METADATA +154 -0
  50. logger_36-2025.4.dist-info/RECORD +52 -0
  51. {logger_36-2024.1.dist-info → logger_36-2025.4.dist-info}/WHEEL +1 -1
  52. logger_36/catalog/gpu.py +0 -56
  53. logger_36/catalog/memory.py +0 -109
  54. logger_36/catalog/system.py +0 -84
  55. logger_36/config.py +0 -48
  56. logger_36/constant.py +0 -52
  57. logger_36/instance.py +0 -34
  58. logger_36/main.py +0 -96
  59. logger_36/measure/chronos.py +0 -55
  60. logger_36/measure/memory.py +0 -50
  61. logger_36/type/console.py +0 -122
  62. logger_36/type/extension.py +0 -122
  63. logger_36/type/file.py +0 -52
  64. logger_36/type/generic.py +0 -115
  65. logger_36-2024.1.dist-info/METADATA +0 -106
  66. logger_36-2024.1.dist-info/RECORD +0 -21
  67. {logger_36-2024.1.dist-info → logger_36-2025.4.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,84 @@
1
+ """
2
+ Copyright CNRS/Inria/UniCA
3
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
+ SEE COPYRIGHT NOTICE BELOW
5
+ """
6
+
7
+ from logger_36.constant.system import MAX_DETAIL_NAME_LENGTH, SYSTEM_DETAILS_AS_DICT
8
+ from logger_36.instance.logger import LOGGER
9
+ from logger_36.task.inspection import Modules
10
+ from logger_36.type.logger import logger_t
11
+
12
+
13
+ def LogSystemDetails(
14
+ *,
15
+ modules_with_version: bool = True,
16
+ modules_formatted: bool = True,
17
+ should_restrict_modules_to_loaded: bool = True,
18
+ logger: logger_t = LOGGER,
19
+ ) -> None:
20
+ """"""
21
+ details = "\n".join(
22
+ f" {_key:>{MAX_DETAIL_NAME_LENGTH}}: {_vle}"
23
+ for _key, _vle in SYSTEM_DETAILS_AS_DICT.items()
24
+ )
25
+ modules = Modules(
26
+ modules_with_version,
27
+ modules_formatted,
28
+ only_loaded=should_restrict_modules_to_loaded,
29
+ indent=4,
30
+ )
31
+
32
+ logger.info(
33
+ f"SYSTEM DETAILS\n"
34
+ f"{details}\n"
35
+ f" {'Python Modules':>{MAX_DETAIL_NAME_LENGTH}}:\n"
36
+ f"{modules}",
37
+ )
38
+
39
+
40
+ """
41
+ COPYRIGHT NOTICE
42
+
43
+ This software is governed by the CeCILL license under French law and
44
+ abiding by the rules of distribution of free software. You can use,
45
+ modify and/ or redistribute the software under the terms of the CeCILL
46
+ license as circulated by CEA, CNRS and INRIA at the following URL
47
+ "http://www.cecill.info".
48
+
49
+ As a counterpart to the access to the source code and rights to copy,
50
+ modify and redistribute granted by the license, users are provided only
51
+ with a limited warranty and the software's author, the holder of the
52
+ economic rights, and the successive licensors have only limited
53
+ liability.
54
+
55
+ In this respect, the user's attention is drawn to the risks associated
56
+ with loading, using, modifying and/or developing or reproducing the
57
+ software by the user in light of its specific status of free software,
58
+ that may mean that it is complicated to manipulate, and that also
59
+ therefore means that it is reserved for developers and experienced
60
+ professionals having in-depth computer knowledge. Users are therefore
61
+ encouraged to load and test the software's suitability as regards their
62
+ requirements in conditions enabling the security of their systems and/or
63
+ data to be ensured and, more generally, to use and operate it in the
64
+ same conditions as regards security.
65
+
66
+ The fact that you are presently reading this means that you have had
67
+ knowledge of the CeCILL license and that you accept its terms.
68
+
69
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
70
+
71
+ This software is being developed by Eric Debreuve, a CNRS employee and
72
+ member of team Morpheme.
73
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
74
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
75
+ I3S, and Laboratory iBV.
76
+
77
+ CNRS: https://www.cnrs.fr/index.php/en
78
+ Inria: https://www.inria.fr/en/
79
+ UniCA: https://univ-cotedazur.eu/
80
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
81
+ I3S: https://www.i3s.unice.fr/en/
82
+ iBV: http://ibv.unice.fr/
83
+ Team Morpheme: https://team.inria.fr/morpheme/
84
+ """
@@ -0,0 +1,56 @@
1
+ """
2
+ Copyright CNRS/Inria/UniCA
3
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
+ SEE COPYRIGHT NOTICE BELOW
5
+ """
6
+
7
+ ISSUE_BASE_CONTEXT = "BASE"
8
+
9
+ ISSUE_CONTEXT_SEPARATOR = ">"
10
+ ISSUE_CONTEXT_END = ":: "
11
+
12
+ """
13
+ COPYRIGHT NOTICE
14
+
15
+ This software is governed by the CeCILL license under French law and
16
+ abiding by the rules of distribution of free software. You can use,
17
+ modify and/ or redistribute the software under the terms of the CeCILL
18
+ license as circulated by CEA, CNRS and INRIA at the following URL
19
+ "http://www.cecill.info".
20
+
21
+ As a counterpart to the access to the source code and rights to copy,
22
+ modify and redistribute granted by the license, users are provided only
23
+ with a limited warranty and the software's author, the holder of the
24
+ economic rights, and the successive licensors have only limited
25
+ liability.
26
+
27
+ In this respect, the user's attention is drawn to the risks associated
28
+ with loading, using, modifying and/or developing or reproducing the
29
+ software by the user in light of its specific status of free software,
30
+ that may mean that it is complicated to manipulate, and that also
31
+ therefore means that it is reserved for developers and experienced
32
+ professionals having in-depth computer knowledge. Users are therefore
33
+ encouraged to load and test the software's suitability as regards their
34
+ requirements in conditions enabling the security of their systems and/or
35
+ data to be ensured and, more generally, to use and operate it in the
36
+ same conditions as regards security.
37
+
38
+ The fact that you are presently reading this means that you have had
39
+ knowledge of the CeCILL license and that you accept its terms.
40
+
41
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
42
+
43
+ This software is being developed by Eric Debreuve, a CNRS employee and
44
+ member of team Morpheme.
45
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
46
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
47
+ I3S, and Laboratory iBV.
48
+
49
+ CNRS: https://www.cnrs.fr/index.php/en
50
+ Inria: https://www.inria.fr/en/
51
+ UniCA: https://univ-cotedazur.eu/
52
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
53
+ I3S: https://www.i3s.unice.fr/en/
54
+ iBV: http://ibv.unice.fr/
55
+ Team Morpheme: https://team.inria.fr/morpheme/
56
+ """
@@ -0,0 +1,103 @@
1
+ """
2
+ Copyright CNRS/Inria/UniCA
3
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
+ SEE COPYRIGHT NOTICE BELOW
5
+ """
6
+
7
+ import logging as lggg
8
+
9
+ from logger_36.catalog.handler.console import console_handler_t
10
+ from logger_36.catalog.handler.console_rich import console_rich_handler_t
11
+ from logger_36.catalog.handler.file import file_handler_t
12
+ from logger_36.catalog.handler.generic import generic_handler_t
13
+ from logger_36.constant.handler import HANDLER_CODES, handler_codes_h
14
+ from logger_36.instance.logger import LOGGER
15
+ from logger_36.task.format.message import MessageWithActualExpected
16
+
17
+
18
+ def SetLOGLevel(
19
+ level: int,
20
+ /,
21
+ *,
22
+ logger: lggg.Logger | None = None,
23
+ which: handler_codes_h | str = "a",
24
+ ) -> None:
25
+ """
26
+ which: g=generic, c=console, f=file, a=all, str=name.
27
+ """
28
+ if logger is None:
29
+ logger = LOGGER
30
+
31
+ which_is_name = which not in HANDLER_CODES
32
+ found = False
33
+ for handler in logger.handlers:
34
+ if (
35
+ (which == "a")
36
+ or ((which == "g") and isinstance(handler, generic_handler_t))
37
+ or (
38
+ (which == "c")
39
+ and isinstance(handler, (console_handler_t, console_rich_handler_t))
40
+ )
41
+ or ((which == "f") and isinstance(handler, file_handler_t))
42
+ or (which == handler.name)
43
+ ):
44
+ handler.setLevel(level)
45
+ if which_is_name:
46
+ return
47
+ found = True
48
+
49
+ if not found:
50
+ raise ValueError(
51
+ MessageWithActualExpected(
52
+ "Handler not found",
53
+ actual=which,
54
+ expected=f"{str(HANDLER_CODES)[1:-1]}, or a handler name",
55
+ )
56
+ )
57
+
58
+
59
+ """
60
+ COPYRIGHT NOTICE
61
+
62
+ This software is governed by the CeCILL license under French law and
63
+ abiding by the rules of distribution of free software. You can use,
64
+ modify and/ or redistribute the software under the terms of the CeCILL
65
+ license as circulated by CEA, CNRS and INRIA at the following URL
66
+ "http://www.cecill.info".
67
+
68
+ As a counterpart to the access to the source code and rights to copy,
69
+ modify and redistribute granted by the license, users are provided only
70
+ with a limited warranty and the software's author, the holder of the
71
+ economic rights, and the successive licensors have only limited
72
+ liability.
73
+
74
+ In this respect, the user's attention is drawn to the risks associated
75
+ with loading, using, modifying and/or developing or reproducing the
76
+ software by the user in light of its specific status of free software,
77
+ that may mean that it is complicated to manipulate, and that also
78
+ therefore means that it is reserved for developers and experienced
79
+ professionals having in-depth computer knowledge. Users are therefore
80
+ encouraged to load and test the software's suitability as regards their
81
+ requirements in conditions enabling the security of their systems and/or
82
+ data to be ensured and, more generally, to use and operate it in the
83
+ same conditions as regards security.
84
+
85
+ The fact that you are presently reading this means that you have had
86
+ knowledge of the CeCILL license and that you accept its terms.
87
+
88
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
89
+
90
+ This software is being developed by Eric Debreuve, a CNRS employee and
91
+ member of team Morpheme.
92
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
93
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
94
+ I3S, and Laboratory iBV.
95
+
96
+ CNRS: https://www.cnrs.fr/index.php/en
97
+ Inria: https://www.inria.fr/en/
98
+ UniCA: https://univ-cotedazur.eu/
99
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
100
+ I3S: https://www.i3s.unice.fr/en/
101
+ iBV: http://ibv.unice.fr/
102
+ Team Morpheme: https://team.inria.fr/morpheme/
103
+ """
@@ -0,0 +1,54 @@
1
+ """
2
+ Copyright CNRS/Inria/UniCA
3
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
+ SEE COPYRIGHT NOTICE BELOW
5
+ """
6
+
7
+ MAX_N_SAMPLES = 10
8
+ LENGTH_100 = 20
9
+
10
+ """
11
+ COPYRIGHT NOTICE
12
+
13
+ This software is governed by the CeCILL license under French law and
14
+ abiding by the rules of distribution of free software. You can use,
15
+ modify and/ or redistribute the software under the terms of the CeCILL
16
+ license as circulated by CEA, CNRS and INRIA at the following URL
17
+ "http://www.cecill.info".
18
+
19
+ As a counterpart to the access to the source code and rights to copy,
20
+ modify and redistribute granted by the license, users are provided only
21
+ with a limited warranty and the software's author, the holder of the
22
+ economic rights, and the successive licensors have only limited
23
+ liability.
24
+
25
+ In this respect, the user's attention is drawn to the risks associated
26
+ with loading, using, modifying and/or developing or reproducing the
27
+ software by the user in light of its specific status of free software,
28
+ that may mean that it is complicated to manipulate, and that also
29
+ therefore means that it is reserved for developers and experienced
30
+ professionals having in-depth computer knowledge. Users are therefore
31
+ encouraged to load and test the software's suitability as regards their
32
+ requirements in conditions enabling the security of their systems and/or
33
+ data to be ensured and, more generally, to use and operate it in the
34
+ same conditions as regards security.
35
+
36
+ The fact that you are presently reading this means that you have had
37
+ knowledge of the CeCILL license and that you accept its terms.
38
+
39
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
40
+
41
+ This software is being developed by Eric Debreuve, a CNRS employee and
42
+ member of team Morpheme.
43
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
44
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
45
+ I3S, and Laboratory iBV.
46
+
47
+ CNRS: https://www.cnrs.fr/index.php/en
48
+ Inria: https://www.inria.fr/en/
49
+ UniCA: https://univ-cotedazur.eu/
50
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
51
+ I3S: https://www.i3s.unice.fr/en/
52
+ iBV: http://ibv.unice.fr/
53
+ Team Morpheme: https://team.inria.fr/morpheme/
54
+ """
@@ -0,0 +1,66 @@
1
+ """
2
+ Copyright CNRS/Inria/UniCA
3
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
+ SEE COPYRIGHT NOTICE BELOW
5
+ """
6
+
7
+ from datetime import timedelta as time_delta_t
8
+
9
+ LEVEL_OPENING = "("
10
+ LEVEL_CLOSING = ")"
11
+ MESSAGE_MARKER = "|"
12
+ WHERE_SEPARATOR = "@"
13
+ ELAPSED_TIME_SEPARATOR = "+"
14
+
15
+ DATE_FORMAT = "%Y-%m-%d"
16
+ TIME_FORMAT = "%H:%M:%S"
17
+ LONG_ENOUGH = time_delta_t(minutes=5)
18
+
19
+ ACTUAL_PATTERNS: tuple[str] = (r" Actual=",)
20
+ EXPECTED_PATTERNS: str = r" Expected([!<>]?=|: )"
21
+
22
+ """
23
+ COPYRIGHT NOTICE
24
+
25
+ This software is governed by the CeCILL license under French law and
26
+ abiding by the rules of distribution of free software. You can use,
27
+ modify and/ or redistribute the software under the terms of the CeCILL
28
+ license as circulated by CEA, CNRS and INRIA at the following URL
29
+ "http://www.cecill.info".
30
+
31
+ As a counterpart to the access to the source code and rights to copy,
32
+ modify and redistribute granted by the license, users are provided only
33
+ with a limited warranty and the software's author, the holder of the
34
+ economic rights, and the successive licensors have only limited
35
+ liability.
36
+
37
+ In this respect, the user's attention is drawn to the risks associated
38
+ with loading, using, modifying and/or developing or reproducing the
39
+ software by the user in light of its specific status of free software,
40
+ that may mean that it is complicated to manipulate, and that also
41
+ therefore means that it is reserved for developers and experienced
42
+ professionals having in-depth computer knowledge. Users are therefore
43
+ encouraged to load and test the software's suitability as regards their
44
+ requirements in conditions enabling the security of their systems and/or
45
+ data to be ensured and, more generally, to use and operate it in the
46
+ same conditions as regards security.
47
+
48
+ The fact that you are presently reading this means that you have had
49
+ knowledge of the CeCILL license and that you accept its terms.
50
+
51
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
52
+
53
+ This software is being developed by Eric Debreuve, a CNRS employee and
54
+ member of team Morpheme.
55
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
56
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
57
+ I3S, and Laboratory iBV.
58
+
59
+ CNRS: https://www.cnrs.fr/index.php/en
60
+ Inria: https://www.inria.fr/en/
61
+ UniCA: https://univ-cotedazur.eu/
62
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
63
+ I3S: https://www.i3s.unice.fr/en/
64
+ iBV: http://ibv.unice.fr/
65
+ Team Morpheme: https://team.inria.fr/morpheme/
66
+ """
@@ -0,0 +1,70 @@
1
+ """
2
+ Copyright CNRS/Inria/UniCA
3
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
+ SEE COPYRIGHT NOTICE BELOW
5
+ """
6
+
7
+ SYSTEM_DETAILS = (
8
+ "node",
9
+ "machine",
10
+ "processor",
11
+ "architecture",
12
+ #
13
+ "system",
14
+ "release",
15
+ "version",
16
+ "platform",
17
+ #
18
+ "python_implementation",
19
+ "python_version",
20
+ "python_revision",
21
+ "python_branch",
22
+ "python_compiler",
23
+ "python_build",
24
+ )
25
+
26
+ """
27
+ COPYRIGHT NOTICE
28
+
29
+ This software is governed by the CeCILL license under French law and
30
+ abiding by the rules of distribution of free software. You can use,
31
+ modify and/ or redistribute the software under the terms of the CeCILL
32
+ license as circulated by CEA, CNRS and INRIA at the following URL
33
+ "http://www.cecill.info".
34
+
35
+ As a counterpart to the access to the source code and rights to copy,
36
+ modify and redistribute granted by the license, users are provided only
37
+ with a limited warranty and the software's author, the holder of the
38
+ economic rights, and the successive licensors have only limited
39
+ liability.
40
+
41
+ In this respect, the user's attention is drawn to the risks associated
42
+ with loading, using, modifying and/or developing or reproducing the
43
+ software by the user in light of its specific status of free software,
44
+ that may mean that it is complicated to manipulate, and that also
45
+ therefore means that it is reserved for developers and experienced
46
+ professionals having in-depth computer knowledge. Users are therefore
47
+ encouraged to load and test the software's suitability as regards their
48
+ requirements in conditions enabling the security of their systems and/or
49
+ data to be ensured and, more generally, to use and operate it in the
50
+ same conditions as regards security.
51
+
52
+ The fact that you are presently reading this means that you have had
53
+ knowledge of the CeCILL license and that you accept its terms.
54
+
55
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
56
+
57
+ This software is being developed by Eric Debreuve, a CNRS employee and
58
+ member of team Morpheme.
59
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
60
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
61
+ I3S, and Laboratory iBV.
62
+
63
+ CNRS: https://www.cnrs.fr/index.php/en
64
+ Inria: https://www.inria.fr/en/
65
+ UniCA: https://univ-cotedazur.eu/
66
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
67
+ I3S: https://www.i3s.unice.fr/en/
68
+ iBV: http://ibv.unice.fr/
69
+ Team Morpheme: https://team.inria.fr/morpheme/
70
+ """
@@ -0,0 +1,70 @@
1
+ """
2
+ Copyright CNRS/Inria/UniCA
3
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
+ SEE COPYRIGHT NOTICE BELOW
5
+ """
6
+
7
+ GPU_LOGGING_ERROR = (
8
+ "GPU details cannot be logged because the Tensorflow and/or Tensorrt package(s) "
9
+ "(https://www.tensorflow.org/, https://developer.nvidia.com/tensorrt)"
10
+ "is/are not installed or not importable."
11
+ )
12
+
13
+ MEMORY_MEASURE_ERROR = (
14
+ "Memory usage cannot be shown because the Psutil package "
15
+ "(https://psutil.readthedocs.io/en/latest/)"
16
+ "is not installed or not importable."
17
+ )
18
+
19
+ MISSING_RICH_ERROR = (
20
+ "The Rich console handler is not available because the Rich package "
21
+ "(https://rich.readthedocs.io/en/stable/) "
22
+ "is not installed or not importable. "
23
+ "Falling back to the raw console."
24
+ )
25
+
26
+ """
27
+ COPYRIGHT NOTICE
28
+
29
+ This software is governed by the CeCILL license under French law and
30
+ abiding by the rules of distribution of free software. You can use,
31
+ modify and/ or redistribute the software under the terms of the CeCILL
32
+ license as circulated by CEA, CNRS and INRIA at the following URL
33
+ "http://www.cecill.info".
34
+
35
+ As a counterpart to the access to the source code and rights to copy,
36
+ modify and redistribute granted by the license, users are provided only
37
+ with a limited warranty and the software's author, the holder of the
38
+ economic rights, and the successive licensors have only limited
39
+ liability.
40
+
41
+ In this respect, the user's attention is drawn to the risks associated
42
+ with loading, using, modifying and/or developing or reproducing the
43
+ software by the user in light of its specific status of free software,
44
+ that may mean that it is complicated to manipulate, and that also
45
+ therefore means that it is reserved for developers and experienced
46
+ professionals having in-depth computer knowledge. Users are therefore
47
+ encouraged to load and test the software's suitability as regards their
48
+ requirements in conditions enabling the security of their systems and/or
49
+ data to be ensured and, more generally, to use and operate it in the
50
+ same conditions as regards security.
51
+
52
+ The fact that you are presently reading this means that you have had
53
+ knowledge of the CeCILL license and that you accept its terms.
54
+
55
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
56
+
57
+ This software is being developed by Eric Debreuve, a CNRS employee and
58
+ member of team Morpheme.
59
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
60
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
61
+ I3S, and Laboratory iBV.
62
+
63
+ CNRS: https://www.cnrs.fr/index.php/en
64
+ Inria: https://www.inria.fr/en/
65
+ UniCA: https://univ-cotedazur.eu/
66
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
67
+ I3S: https://www.i3s.unice.fr/en/
68
+ iBV: http://ibv.unice.fr/
69
+ Team Morpheme: https://team.inria.fr/morpheme/
70
+ """
@@ -0,0 +1,58 @@
1
+ """
2
+ Copyright CNRS/Inria/UniCA
3
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
+ SEE COPYRIGHT NOTICE BELOW
5
+ """
6
+
7
+
8
+ class _not_passed_t:
9
+ pass
10
+
11
+
12
+ NOT_PASSED = _not_passed_t()
13
+
14
+ """
15
+ COPYRIGHT NOTICE
16
+
17
+ This software is governed by the CeCILL license under French law and
18
+ abiding by the rules of distribution of free software. You can use,
19
+ modify and/ or redistribute the software under the terms of the CeCILL
20
+ license as circulated by CEA, CNRS and INRIA at the following URL
21
+ "http://www.cecill.info".
22
+
23
+ As a counterpart to the access to the source code and rights to copy,
24
+ modify and redistribute granted by the license, users are provided only
25
+ with a limited warranty and the software's author, the holder of the
26
+ economic rights, and the successive licensors have only limited
27
+ liability.
28
+
29
+ In this respect, the user's attention is drawn to the risks associated
30
+ with loading, using, modifying and/or developing or reproducing the
31
+ software by the user in light of its specific status of free software,
32
+ that may mean that it is complicated to manipulate, and that also
33
+ therefore means that it is reserved for developers and experienced
34
+ professionals having in-depth computer knowledge. Users are therefore
35
+ encouraged to load and test the software's suitability as regards their
36
+ requirements in conditions enabling the security of their systems and/or
37
+ data to be ensured and, more generally, to use and operate it in the
38
+ same conditions as regards security.
39
+
40
+ The fact that you are presently reading this means that you have had
41
+ knowledge of the CeCILL license and that you accept its terms.
42
+
43
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
44
+
45
+ This software is being developed by Eric Debreuve, a CNRS employee and
46
+ member of team Morpheme.
47
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
48
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
49
+ I3S, and Laboratory iBV.
50
+
51
+ CNRS: https://www.cnrs.fr/index.php/en
52
+ Inria: https://www.inria.fr/en/
53
+ UniCA: https://univ-cotedazur.eu/
54
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
55
+ I3S: https://www.i3s.unice.fr/en/
56
+ iBV: http://ibv.unice.fr/
57
+ Team Morpheme: https://team.inria.fr/morpheme/
58
+ """
@@ -0,0 +1,58 @@
1
+ """
2
+ Copyright CNRS/Inria/UniCA
3
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
+ SEE COPYRIGHT NOTICE BELOW
5
+ """
6
+
7
+ import typing as h
8
+
9
+ handler_codes_h = h.Literal["g", "c", "f", "a"]
10
+ HANDLER_CODES: tuple[str, ...] = h.get_args(handler_codes_h)
11
+
12
+ ANONYMOUS = "<Anonymous>"
13
+
14
+ """
15
+ COPYRIGHT NOTICE
16
+
17
+ This software is governed by the CeCILL license under French law and
18
+ abiding by the rules of distribution of free software. You can use,
19
+ modify and/ or redistribute the software under the terms of the CeCILL
20
+ license as circulated by CEA, CNRS and INRIA at the following URL
21
+ "http://www.cecill.info".
22
+
23
+ As a counterpart to the access to the source code and rights to copy,
24
+ modify and redistribute granted by the license, users are provided only
25
+ with a limited warranty and the software's author, the holder of the
26
+ economic rights, and the successive licensors have only limited
27
+ liability.
28
+
29
+ In this respect, the user's attention is drawn to the risks associated
30
+ with loading, using, modifying and/or developing or reproducing the
31
+ software by the user in light of its specific status of free software,
32
+ that may mean that it is complicated to manipulate, and that also
33
+ therefore means that it is reserved for developers and experienced
34
+ professionals having in-depth computer knowledge. Users are therefore
35
+ encouraged to load and test the software's suitability as regards their
36
+ requirements in conditions enabling the security of their systems and/or
37
+ data to be ensured and, more generally, to use and operate it in the
38
+ same conditions as regards security.
39
+
40
+ The fact that you are presently reading this means that you have had
41
+ knowledge of the CeCILL license and that you accept its terms.
42
+
43
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
44
+
45
+ This software is being developed by Eric Debreuve, a CNRS employee and
46
+ member of team Morpheme.
47
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
48
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
49
+ I3S, and Laboratory iBV.
50
+
51
+ CNRS: https://www.cnrs.fr/index.php/en
52
+ Inria: https://www.inria.fr/en/
53
+ UniCA: https://univ-cotedazur.eu/
54
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
55
+ I3S: https://www.i3s.unice.fr/en/
56
+ iBV: http://ibv.unice.fr/
57
+ Team Morpheme: https://team.inria.fr/morpheme/
58
+ """
@@ -0,0 +1,58 @@
1
+ """
2
+ Copyright CNRS/Inria/UniCA
3
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
+ SEE COPYRIGHT NOTICE BELOW
5
+ """
6
+
7
+ import typing as h
8
+
9
+ order_h = h.Literal["when", "context"]
10
+ ORDER: tuple[str, ...] = h.get_args(order_h)
11
+
12
+ ISSUE_LEVEL_SEPARATOR = "#"
13
+
14
+ """
15
+ COPYRIGHT NOTICE
16
+
17
+ This software is governed by the CeCILL license under French law and
18
+ abiding by the rules of distribution of free software. You can use,
19
+ modify and/ or redistribute the software under the terms of the CeCILL
20
+ license as circulated by CEA, CNRS and INRIA at the following URL
21
+ "http://www.cecill.info".
22
+
23
+ As a counterpart to the access to the source code and rights to copy,
24
+ modify and redistribute granted by the license, users are provided only
25
+ with a limited warranty and the software's author, the holder of the
26
+ economic rights, and the successive licensors have only limited
27
+ liability.
28
+
29
+ In this respect, the user's attention is drawn to the risks associated
30
+ with loading, using, modifying and/or developing or reproducing the
31
+ software by the user in light of its specific status of free software,
32
+ that may mean that it is complicated to manipulate, and that also
33
+ therefore means that it is reserved for developers and experienced
34
+ professionals having in-depth computer knowledge. Users are therefore
35
+ encouraged to load and test the software's suitability as regards their
36
+ requirements in conditions enabling the security of their systems and/or
37
+ data to be ensured and, more generally, to use and operate it in the
38
+ same conditions as regards security.
39
+
40
+ The fact that you are presently reading this means that you have had
41
+ knowledge of the CeCILL license and that you accept its terms.
42
+
43
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
44
+
45
+ This software is being developed by Eric Debreuve, a CNRS employee and
46
+ member of team Morpheme.
47
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
48
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
49
+ I3S, and Laboratory iBV.
50
+
51
+ CNRS: https://www.cnrs.fr/index.php/en
52
+ Inria: https://www.inria.fr/en/
53
+ UniCA: https://univ-cotedazur.eu/
54
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
55
+ I3S: https://www.i3s.unice.fr/en/
56
+ iBV: http://ibv.unice.fr/
57
+ Team Morpheme: https://team.inria.fr/morpheme/
58
+ """