logger-36 2024.15__py3-none-any.whl → 2024.17__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. logger_36/__init__.py +54 -32
  2. logger_36/catalog/config/console_rich.py +58 -37
  3. logger_36/catalog/handler/console.py +64 -42
  4. logger_36/catalog/handler/console_rich.py +67 -45
  5. logger_36/catalog/handler/file.py +67 -45
  6. logger_36/catalog/handler/generic.py +72 -51
  7. logger_36/catalog/logging/chronos.py +56 -33
  8. logger_36/catalog/logging/exception.py +74 -0
  9. logger_36/catalog/logging/gpu.py +56 -33
  10. logger_36/catalog/logging/memory.py +66 -39
  11. logger_36/catalog/logging/system.py +56 -32
  12. logger_36/config/issue.py +51 -30
  13. logger_36/config/memory.py +51 -30
  14. logger_36/config/message.py +51 -30
  15. logger_36/config/system.py +51 -30
  16. logger_36/constant/error.py +51 -30
  17. logger_36/constant/generic.py +51 -30
  18. logger_36/constant/handler.py +51 -30
  19. logger_36/constant/issue.py +51 -30
  20. logger_36/constant/logger.py +51 -30
  21. logger_36/constant/memory.py +51 -30
  22. logger_36/constant/message.py +51 -30
  23. logger_36/constant/record.py +51 -30
  24. logger_36/constant/system.py +51 -30
  25. logger_36/instance/logger.py +55 -0
  26. logger_36/instance/loggers.py +56 -0
  27. logger_36/main.py +61 -33
  28. logger_36/task/format/memory.py +52 -30
  29. logger_36/task/format/message.py +52 -30
  30. logger_36/task/format/rule.py +51 -30
  31. logger_36/task/inspection.py +52 -30
  32. logger_36/task/measure/chronos.py +52 -30
  33. logger_36/task/measure/memory.py +52 -30
  34. logger_36/task/storage.py +60 -38
  35. logger_36/type/{extension.py → handler.py} +59 -37
  36. logger_36/type/issue.py +52 -30
  37. logger_36/type/logger.py +70 -51
  38. logger_36/type/loggers.py +78 -0
  39. logger_36/version.py +53 -32
  40. {logger_36-2024.15.dist-info → logger_36-2024.17.dist-info}/METADATA +50 -32
  41. logger_36-2024.17.dist-info/RECORD +43 -0
  42. {logger_36-2024.15.dist-info → logger_36-2024.17.dist-info}/WHEEL +1 -1
  43. logger_36/instance.py +0 -34
  44. logger_36-2024.15.dist-info/RECORD +0 -40
  45. {logger_36-2024.15.dist-info → logger_36-2024.17.dist-info}/top_level.txt +0 -0
@@ -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
+ from logger_36.type.loggers import loggers_t
8
+
9
+ LOGGERS = loggers_t()
10
+
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
+ """
logger_36/main.py CHANGED
@@ -1,33 +1,8 @@
1
- # Copyright CNRS/Inria/UniCA
2
- # Contributor(s): Eric Debreuve (since 2023)
3
- #
4
- # eric.debreuve@cnrs.fr
5
- #
6
- # This software is governed by the CeCILL license under French law and
7
- # abiding by the rules of distribution of free software. You can use,
8
- # modify and/ or redistribute the software under the terms of the CeCILL
9
- # license as circulated by CEA, CNRS and INRIA at the following URL
10
- # "http://www.cecill.info".
11
- #
12
- # As a counterpart to the access to the source code and rights to copy,
13
- # modify and redistribute granted by the license, users are provided only
14
- # with a limited warranty and the software's author, the holder of the
15
- # economic rights, and the successive licensors have only limited
16
- # liability.
17
- #
18
- # In this respect, the user's attention is drawn to the risks associated
19
- # with loading, using, modifying and/or developing or reproducing the
20
- # software by the user in light of its specific status of free software,
21
- # that may mean that it is complicated to manipulate, and that also
22
- # therefore means that it is reserved for developers and experienced
23
- # professionals having in-depth computer knowledge. Users are therefore
24
- # encouraged to load and test the software's suitability as regards their
25
- # requirements in conditions enabling the security of their systems and/or
26
- # data to be ensured and, more generally, to use and operate it in the
27
- # same conditions as regards security.
28
- #
29
- # The fact that you are presently reading this means that you have had
30
- # knowledge of the CeCILL license and that you accept its terms.
1
+ """
2
+ Copyright CNRS/Inria/UniCA
3
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
+ SEE COPYRIGHT NOTICE BELOW
5
+ """
31
6
 
32
7
  import logging as lggg
33
8
  import sys as sstm
@@ -38,7 +13,7 @@ from logger_36.catalog.handler.file import file_handler_t
38
13
  from logger_36.catalog.handler.generic import generic_handler_t, interface_h
39
14
  from logger_36.constant.error import MISSING_RICH_ERROR
40
15
  from logger_36.constant.handler import HANDLER_CODES, handler_codes_h
41
- from logger_36.instance import LOGGER
16
+ from logger_36.instance.logger import LOGGER
42
17
  from logger_36.task.format.message import FormattedMessage
43
18
 
44
19
  try:
@@ -134,6 +109,13 @@ def AddRichConsoleHandler(
134
109
  if logger is None:
135
110
  logger = LOGGER
136
111
 
112
+ if console_rich_handler_t is console_handler_t:
113
+ additional_s = {}
114
+ else:
115
+ additional_s = {
116
+ "should_install_traceback": should_install_traceback,
117
+ "rich_kwargs": kwargs,
118
+ }
137
119
  handler = console_rich_handler_t(
138
120
  name=name,
139
121
  level=level,
@@ -141,8 +123,7 @@ def AddRichConsoleHandler(
141
123
  show_memory_usage=show_memory_usage,
142
124
  message_width=message_width,
143
125
  formatter=formatter,
144
- should_install_traceback=should_install_traceback,
145
- rich_kwargs=kwargs,
126
+ **additional_s,
146
127
  )
147
128
  logger.AddHandler(handler, should_hold_messages)
148
129
 
@@ -222,3 +203,50 @@ def SetLOGLevel(
222
203
  expected=f"{str(HANDLER_CODES)[1:-1]}, or a handler name",
223
204
  )
224
205
  )
206
+
207
+
208
+ """
209
+ COPYRIGHT NOTICE
210
+
211
+ This software is governed by the CeCILL license under French law and
212
+ abiding by the rules of distribution of free software. You can use,
213
+ modify and/ or redistribute the software under the terms of the CeCILL
214
+ license as circulated by CEA, CNRS and INRIA at the following URL
215
+ "http://www.cecill.info".
216
+
217
+ As a counterpart to the access to the source code and rights to copy,
218
+ modify and redistribute granted by the license, users are provided only
219
+ with a limited warranty and the software's author, the holder of the
220
+ economic rights, and the successive licensors have only limited
221
+ liability.
222
+
223
+ In this respect, the user's attention is drawn to the risks associated
224
+ with loading, using, modifying and/or developing or reproducing the
225
+ software by the user in light of its specific status of free software,
226
+ that may mean that it is complicated to manipulate, and that also
227
+ therefore means that it is reserved for developers and experienced
228
+ professionals having in-depth computer knowledge. Users are therefore
229
+ encouraged to load and test the software's suitability as regards their
230
+ requirements in conditions enabling the security of their systems and/or
231
+ data to be ensured and, more generally, to use and operate it in the
232
+ same conditions as regards security.
233
+
234
+ The fact that you are presently reading this means that you have had
235
+ knowledge of the CeCILL license and that you accept its terms.
236
+
237
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
238
+
239
+ This software is being developed by Eric Debreuve, a CNRS employee and
240
+ member of team Morpheme.
241
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
242
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
243
+ I3S, and Laboratory iBV.
244
+
245
+ CNRS: https://www.cnrs.fr/index.php/en
246
+ Inria: https://www.inria.fr/en/
247
+ UniCA: https://univ-cotedazur.eu/
248
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
249
+ I3S: https://www.i3s.unice.fr/en/
250
+ iBV: http://ibv.unice.fr/
251
+ Team Morpheme: https://team.inria.fr/morpheme/
252
+ """
@@ -1,33 +1,8 @@
1
- # Copyright CNRS/Inria/UniCA
2
- # Contributor(s): Eric Debreuve (since 2023)
3
- #
4
- # eric.debreuve@cnrs.fr
5
- #
6
- # This software is governed by the CeCILL license under French law and
7
- # abiding by the rules of distribution of free software. You can use,
8
- # modify and/ or redistribute the software under the terms of the CeCILL
9
- # license as circulated by CEA, CNRS and INRIA at the following URL
10
- # "http://www.cecill.info".
11
- #
12
- # As a counterpart to the access to the source code and rights to copy,
13
- # modify and redistribute granted by the license, users are provided only
14
- # with a limited warranty and the software's author, the holder of the
15
- # economic rights, and the successive licensors have only limited
16
- # liability.
17
- #
18
- # In this respect, the user's attention is drawn to the risks associated
19
- # with loading, using, modifying and/or developing or reproducing the
20
- # software by the user in light of its specific status of free software,
21
- # that may mean that it is complicated to manipulate, and that also
22
- # therefore means that it is reserved for developers and experienced
23
- # professionals having in-depth computer knowledge. Users are therefore
24
- # encouraged to load and test the software's suitability as regards their
25
- # requirements in conditions enabling the security of their systems and/or
26
- # data to be ensured and, more generally, to use and operate it in the
27
- # same conditions as regards security.
28
- #
29
- # The fact that you are presently reading this means that you have had
30
- # knowledge of the CeCILL license and that you accept its terms.
1
+ """
2
+ Copyright CNRS/Inria/UniCA
3
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
+ SEE COPYRIGHT NOTICE BELOW
5
+ """
31
6
 
32
7
  from logger_36.constant.memory import STORAGE_UNITS, storage_units_h
33
8
  from logger_36.task.format.message import FormattedMessage
@@ -108,3 +83,50 @@ def _Rounded(value: float, decimals: int | None, /) -> int | float:
108
83
  decimals = None
109
84
 
110
85
  return round(value, ndigits=decimals)
86
+
87
+
88
+ """
89
+ COPYRIGHT NOTICE
90
+
91
+ This software is governed by the CeCILL license under French law and
92
+ abiding by the rules of distribution of free software. You can use,
93
+ modify and/ or redistribute the software under the terms of the CeCILL
94
+ license as circulated by CEA, CNRS and INRIA at the following URL
95
+ "http://www.cecill.info".
96
+
97
+ As a counterpart to the access to the source code and rights to copy,
98
+ modify and redistribute granted by the license, users are provided only
99
+ with a limited warranty and the software's author, the holder of the
100
+ economic rights, and the successive licensors have only limited
101
+ liability.
102
+
103
+ In this respect, the user's attention is drawn to the risks associated
104
+ with loading, using, modifying and/or developing or reproducing the
105
+ software by the user in light of its specific status of free software,
106
+ that may mean that it is complicated to manipulate, and that also
107
+ therefore means that it is reserved for developers and experienced
108
+ professionals having in-depth computer knowledge. Users are therefore
109
+ encouraged to load and test the software's suitability as regards their
110
+ requirements in conditions enabling the security of their systems and/or
111
+ data to be ensured and, more generally, to use and operate it in the
112
+ same conditions as regards security.
113
+
114
+ The fact that you are presently reading this means that you have had
115
+ knowledge of the CeCILL license and that you accept its terms.
116
+
117
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
118
+
119
+ This software is being developed by Eric Debreuve, a CNRS employee and
120
+ member of team Morpheme.
121
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
122
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
123
+ I3S, and Laboratory iBV.
124
+
125
+ CNRS: https://www.cnrs.fr/index.php/en
126
+ Inria: https://www.inria.fr/en/
127
+ UniCA: https://univ-cotedazur.eu/
128
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
129
+ I3S: https://www.i3s.unice.fr/en/
130
+ iBV: http://ibv.unice.fr/
131
+ Team Morpheme: https://team.inria.fr/morpheme/
132
+ """
@@ -1,33 +1,8 @@
1
- # Copyright CNRS/Inria/UniCA
2
- # Contributor(s): Eric Debreuve (since 2023)
3
- #
4
- # eric.debreuve@cnrs.fr
5
- #
6
- # This software is governed by the CeCILL license under French law and
7
- # abiding by the rules of distribution of free software. You can use,
8
- # modify and/ or redistribute the software under the terms of the CeCILL
9
- # license as circulated by CEA, CNRS and INRIA at the following URL
10
- # "http://www.cecill.info".
11
- #
12
- # As a counterpart to the access to the source code and rights to copy,
13
- # modify and redistribute granted by the license, users are provided only
14
- # with a limited warranty and the software's author, the holder of the
15
- # economic rights, and the successive licensors have only limited
16
- # liability.
17
- #
18
- # In this respect, the user's attention is drawn to the risks associated
19
- # with loading, using, modifying and/or developing or reproducing the
20
- # software by the user in light of its specific status of free software,
21
- # that may mean that it is complicated to manipulate, and that also
22
- # therefore means that it is reserved for developers and experienced
23
- # professionals having in-depth computer knowledge. Users are therefore
24
- # encouraged to load and test the software's suitability as regards their
25
- # requirements in conditions enabling the security of their systems and/or
26
- # data to be ensured and, more generally, to use and operate it in the
27
- # same conditions as regards security.
28
- #
29
- # The fact that you are presently reading this means that you have had
30
- # knowledge of the CeCILL license and that you accept its terms.
1
+ """
2
+ Copyright CNRS/Inria/UniCA
3
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
+ SEE COPYRIGHT NOTICE BELOW
5
+ """
31
6
 
32
7
  import typing as h
33
8
 
@@ -110,3 +85,50 @@ def _FormattedValue(value: h.Any, /, *, should_format_str: bool = True) -> str:
110
85
  return value
111
86
 
112
87
  return str(value)
88
+
89
+
90
+ """
91
+ COPYRIGHT NOTICE
92
+
93
+ This software is governed by the CeCILL license under French law and
94
+ abiding by the rules of distribution of free software. You can use,
95
+ modify and/ or redistribute the software under the terms of the CeCILL
96
+ license as circulated by CEA, CNRS and INRIA at the following URL
97
+ "http://www.cecill.info".
98
+
99
+ As a counterpart to the access to the source code and rights to copy,
100
+ modify and redistribute granted by the license, users are provided only
101
+ with a limited warranty and the software's author, the holder of the
102
+ economic rights, and the successive licensors have only limited
103
+ liability.
104
+
105
+ In this respect, the user's attention is drawn to the risks associated
106
+ with loading, using, modifying and/or developing or reproducing the
107
+ software by the user in light of its specific status of free software,
108
+ that may mean that it is complicated to manipulate, and that also
109
+ therefore means that it is reserved for developers and experienced
110
+ professionals having in-depth computer knowledge. Users are therefore
111
+ encouraged to load and test the software's suitability as regards their
112
+ requirements in conditions enabling the security of their systems and/or
113
+ data to be ensured and, more generally, to use and operate it in the
114
+ same conditions as regards security.
115
+
116
+ The fact that you are presently reading this means that you have had
117
+ knowledge of the CeCILL license and that you accept its terms.
118
+
119
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
120
+
121
+ This software is being developed by Eric Debreuve, a CNRS employee and
122
+ member of team Morpheme.
123
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
124
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
125
+ I3S, and Laboratory iBV.
126
+
127
+ CNRS: https://www.cnrs.fr/index.php/en
128
+ Inria: https://www.inria.fr/en/
129
+ UniCA: https://univ-cotedazur.eu/
130
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
131
+ I3S: https://www.i3s.unice.fr/en/
132
+ iBV: http://ibv.unice.fr/
133
+ Team Morpheme: https://team.inria.fr/morpheme/
134
+ """
@@ -1,33 +1,8 @@
1
- # Copyright CNRS/Inria/UniCA
2
- # Contributor(s): Eric Debreuve (since 2023)
3
- #
4
- # eric.debreuve@cnrs.fr
5
- #
6
- # This software is governed by the CeCILL license under French law and
7
- # abiding by the rules of distribution of free software. You can use,
8
- # modify and/ or redistribute the software under the terms of the CeCILL
9
- # license as circulated by CEA, CNRS and INRIA at the following URL
10
- # "http://www.cecill.info".
11
- #
12
- # As a counterpart to the access to the source code and rights to copy,
13
- # modify and redistribute granted by the license, users are provided only
14
- # with a limited warranty and the software's author, the holder of the
15
- # economic rights, and the successive licensors have only limited
16
- # liability.
17
- #
18
- # In this respect, the user's attention is drawn to the risks associated
19
- # with loading, using, modifying and/or developing or reproducing the
20
- # software by the user in light of its specific status of free software,
21
- # that may mean that it is complicated to manipulate, and that also
22
- # therefore means that it is reserved for developers and experienced
23
- # professionals having in-depth computer knowledge. Users are therefore
24
- # encouraged to load and test the software's suitability as regards their
25
- # requirements in conditions enabling the security of their systems and/or
26
- # data to be ensured and, more generally, to use and operate it in the
27
- # same conditions as regards security.
28
- #
29
- # The fact that you are presently reading this means that you have had
30
- # knowledge of the CeCILL license and that you accept its terms.
1
+ """
2
+ Copyright CNRS/Inria/UniCA
3
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
+ SEE COPYRIGHT NOTICE BELOW
5
+ """
31
6
 
32
7
 
33
8
  def RuleAsText(text: str, /) -> str:
@@ -45,3 +20,49 @@ try:
45
20
 
46
21
  except ModuleNotFoundError:
47
22
  Rule = lambda _txt, _: RuleAsText(_txt)
23
+
24
+ """
25
+ COPYRIGHT NOTICE
26
+
27
+ This software is governed by the CeCILL license under French law and
28
+ abiding by the rules of distribution of free software. You can use,
29
+ modify and/ or redistribute the software under the terms of the CeCILL
30
+ license as circulated by CEA, CNRS and INRIA at the following URL
31
+ "http://www.cecill.info".
32
+
33
+ As a counterpart to the access to the source code and rights to copy,
34
+ modify and redistribute granted by the license, users are provided only
35
+ with a limited warranty and the software's author, the holder of the
36
+ economic rights, and the successive licensors have only limited
37
+ liability.
38
+
39
+ In this respect, the user's attention is drawn to the risks associated
40
+ with loading, using, modifying and/or developing or reproducing the
41
+ software by the user in light of its specific status of free software,
42
+ that may mean that it is complicated to manipulate, and that also
43
+ therefore means that it is reserved for developers and experienced
44
+ professionals having in-depth computer knowledge. Users are therefore
45
+ encouraged to load and test the software's suitability as regards their
46
+ requirements in conditions enabling the security of their systems and/or
47
+ data to be ensured and, more generally, to use and operate it in the
48
+ same conditions as regards security.
49
+
50
+ The fact that you are presently reading this means that you have had
51
+ knowledge of the CeCILL license and that you accept its terms.
52
+
53
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
54
+
55
+ This software is being developed by Eric Debreuve, a CNRS employee and
56
+ member of team Morpheme.
57
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
58
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
59
+ I3S, and Laboratory iBV.
60
+
61
+ CNRS: https://www.cnrs.fr/index.php/en
62
+ Inria: https://www.inria.fr/en/
63
+ UniCA: https://univ-cotedazur.eu/
64
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
65
+ I3S: https://www.i3s.unice.fr/en/
66
+ iBV: http://ibv.unice.fr/
67
+ Team Morpheme: https://team.inria.fr/morpheme/
68
+ """
@@ -1,33 +1,8 @@
1
- # Copyright CNRS/Inria/UniCA
2
- # Contributor(s): Eric Debreuve (since 2023)
3
- #
4
- # eric.debreuve@cnrs.fr
5
- #
6
- # This software is governed by the CeCILL license under French law and
7
- # abiding by the rules of distribution of free software. You can use,
8
- # modify and/ or redistribute the software under the terms of the CeCILL
9
- # license as circulated by CEA, CNRS and INRIA at the following URL
10
- # "http://www.cecill.info".
11
- #
12
- # As a counterpart to the access to the source code and rights to copy,
13
- # modify and redistribute granted by the license, users are provided only
14
- # with a limited warranty and the software's author, the holder of the
15
- # economic rights, and the successive licensors have only limited
16
- # liability.
17
- #
18
- # In this respect, the user's attention is drawn to the risks associated
19
- # with loading, using, modifying and/or developing or reproducing the
20
- # software by the user in light of its specific status of free software,
21
- # that may mean that it is complicated to manipulate, and that also
22
- # therefore means that it is reserved for developers and experienced
23
- # professionals having in-depth computer knowledge. Users are therefore
24
- # encouraged to load and test the software's suitability as regards their
25
- # requirements in conditions enabling the security of their systems and/or
26
- # data to be ensured and, more generally, to use and operate it in the
27
- # same conditions as regards security.
28
- #
29
- # The fact that you are presently reading this means that you have had
30
- # knowledge of the CeCILL license and that you accept its terms.
1
+ """
2
+ Copyright CNRS/Inria/UniCA
3
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
+ SEE COPYRIGHT NOTICE BELOW
5
+ """
31
6
 
32
7
  import importlib.metadata as mprt
33
8
  import pkgutil as pkgs
@@ -125,3 +100,50 @@ def _ModulesUsingImportlib() -> tuple[str, ...]:
125
100
  if (_elm[0] != "_") and ("__" not in _elm) and ("/" not in _elm)
126
101
  )
127
102
  )
103
+
104
+
105
+ """
106
+ COPYRIGHT NOTICE
107
+
108
+ This software is governed by the CeCILL license under French law and
109
+ abiding by the rules of distribution of free software. You can use,
110
+ modify and/ or redistribute the software under the terms of the CeCILL
111
+ license as circulated by CEA, CNRS and INRIA at the following URL
112
+ "http://www.cecill.info".
113
+
114
+ As a counterpart to the access to the source code and rights to copy,
115
+ modify and redistribute granted by the license, users are provided only
116
+ with a limited warranty and the software's author, the holder of the
117
+ economic rights, and the successive licensors have only limited
118
+ liability.
119
+
120
+ In this respect, the user's attention is drawn to the risks associated
121
+ with loading, using, modifying and/or developing or reproducing the
122
+ software by the user in light of its specific status of free software,
123
+ that may mean that it is complicated to manipulate, and that also
124
+ therefore means that it is reserved for developers and experienced
125
+ professionals having in-depth computer knowledge. Users are therefore
126
+ encouraged to load and test the software's suitability as regards their
127
+ requirements in conditions enabling the security of their systems and/or
128
+ data to be ensured and, more generally, to use and operate it in the
129
+ same conditions as regards security.
130
+
131
+ The fact that you are presently reading this means that you have had
132
+ knowledge of the CeCILL license and that you accept its terms.
133
+
134
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
135
+
136
+ This software is being developed by Eric Debreuve, a CNRS employee and
137
+ member of team Morpheme.
138
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
139
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
140
+ I3S, and Laboratory iBV.
141
+
142
+ CNRS: https://www.cnrs.fr/index.php/en
143
+ Inria: https://www.inria.fr/en/
144
+ UniCA: https://univ-cotedazur.eu/
145
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
146
+ I3S: https://www.i3s.unice.fr/en/
147
+ iBV: http://ibv.unice.fr/
148
+ Team Morpheme: https://team.inria.fr/morpheme/
149
+ """
@@ -1,33 +1,8 @@
1
- # Copyright CNRS/Inria/UniCA
2
- # Contributor(s): Eric Debreuve (since 2023)
3
- #
4
- # eric.debreuve@cnrs.fr
5
- #
6
- # This software is governed by the CeCILL license under French law and
7
- # abiding by the rules of distribution of free software. You can use,
8
- # modify and/ or redistribute the software under the terms of the CeCILL
9
- # license as circulated by CEA, CNRS and INRIA at the following URL
10
- # "http://www.cecill.info".
11
- #
12
- # As a counterpart to the access to the source code and rights to copy,
13
- # modify and redistribute granted by the license, users are provided only
14
- # with a limited warranty and the software's author, the holder of the
15
- # economic rights, and the successive licensors have only limited
16
- # liability.
17
- #
18
- # In this respect, the user's attention is drawn to the risks associated
19
- # with loading, using, modifying and/or developing or reproducing the
20
- # software by the user in light of its specific status of free software,
21
- # that may mean that it is complicated to manipulate, and that also
22
- # therefore means that it is reserved for developers and experienced
23
- # professionals having in-depth computer knowledge. Users are therefore
24
- # encouraged to load and test the software's suitability as regards their
25
- # requirements in conditions enabling the security of their systems and/or
26
- # data to be ensured and, more generally, to use and operate it in the
27
- # same conditions as regards security.
28
- #
29
- # The fact that you are presently reading this means that you have had
30
- # knowledge of the CeCILL license and that you accept its terms.
1
+ """
2
+ Copyright CNRS/Inria/UniCA
3
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
+ SEE COPYRIGHT NOTICE BELOW
5
+ """
31
6
 
32
7
  import time
33
8
  from datetime import datetime as dttm
@@ -55,3 +30,50 @@ def ElapsedTime() -> str:
55
30
  output = output.split(maxsplit=1)[-1]
56
31
 
57
32
  return output
33
+
34
+
35
+ """
36
+ COPYRIGHT NOTICE
37
+
38
+ This software is governed by the CeCILL license under French law and
39
+ abiding by the rules of distribution of free software. You can use,
40
+ modify and/ or redistribute the software under the terms of the CeCILL
41
+ license as circulated by CEA, CNRS and INRIA at the following URL
42
+ "http://www.cecill.info".
43
+
44
+ As a counterpart to the access to the source code and rights to copy,
45
+ modify and redistribute granted by the license, users are provided only
46
+ with a limited warranty and the software's author, the holder of the
47
+ economic rights, and the successive licensors have only limited
48
+ liability.
49
+
50
+ In this respect, the user's attention is drawn to the risks associated
51
+ with loading, using, modifying and/or developing or reproducing the
52
+ software by the user in light of its specific status of free software,
53
+ that may mean that it is complicated to manipulate, and that also
54
+ therefore means that it is reserved for developers and experienced
55
+ professionals having in-depth computer knowledge. Users are therefore
56
+ encouraged to load and test the software's suitability as regards their
57
+ requirements in conditions enabling the security of their systems and/or
58
+ data to be ensured and, more generally, to use and operate it in the
59
+ same conditions as regards security.
60
+
61
+ The fact that you are presently reading this means that you have had
62
+ knowledge of the CeCILL license and that you accept its terms.
63
+
64
+ SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
65
+
66
+ This software is being developed by Eric Debreuve, a CNRS employee and
67
+ member of team Morpheme.
68
+ Team Morpheme is a joint team between Inria, CNRS, and UniCA.
69
+ It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
70
+ I3S, and Laboratory iBV.
71
+
72
+ CNRS: https://www.cnrs.fr/index.php/en
73
+ Inria: https://www.inria.fr/en/
74
+ UniCA: https://univ-cotedazur.eu/
75
+ Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
76
+ I3S: https://www.i3s.unice.fr/en/
77
+ iBV: http://ibv.unice.fr/
78
+ Team Morpheme: https://team.inria.fr/morpheme/
79
+ """