logger-36 2025.17__py3-none-any.whl → 2025.19__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 (55) hide show
  1. logger_36/__init__.py +1 -15
  2. logger_36/api/content.py +1 -16
  3. logger_36/api/gpu.py +1 -15
  4. logger_36/api/memory.py +1 -15
  5. logger_36/api/storage.py +1 -15
  6. logger_36/api/system.py +1 -15
  7. logger_36/api/time.py +1 -15
  8. logger_36/api/type.py +1 -15
  9. logger_36/catalog/config/console_rich.py +2 -16
  10. logger_36/catalog/config/optional.py +1 -15
  11. logger_36/catalog/handler/console.py +7 -24
  12. logger_36/catalog/handler/console_rich.py +14 -40
  13. logger_36/catalog/handler/file.py +5 -25
  14. logger_36/catalog/handler/generic.py +38 -81
  15. logger_36/catalog/logger/chronos.py +1 -15
  16. logger_36/catalog/logger/gpu.py +1 -15
  17. logger_36/catalog/logger/memory.py +1 -15
  18. logger_36/catalog/logger/system.py +1 -15
  19. logger_36/config/issue.py +1 -15
  20. logger_36/config/memory.py +1 -15
  21. logger_36/config/message.py +1 -15
  22. logger_36/config/system.py +1 -15
  23. logger_36/constant/error.py +1 -15
  24. logger_36/constant/generic.py +1 -15
  25. logger_36/constant/html.py +1 -15
  26. logger_36/constant/issue.py +1 -15
  27. logger_36/constant/logger.py +1 -15
  28. logger_36/constant/memory.py +1 -15
  29. logger_36/constant/message.py +1 -15
  30. logger_36/constant/path.py +2 -16
  31. logger_36/constant/record.py +1 -15
  32. logger_36/constant/{handler.py → rule.py} +5 -19
  33. logger_36/constant/system.py +1 -15
  34. logger_36/extension/html_.py +1 -15
  35. logger_36/extension/line.py +1 -15
  36. logger_36/instance/logger.py +3 -16
  37. logger_36/instance/loggers.py +1 -15
  38. logger_36/task/format/memory.py +1 -15
  39. logger_36/task/format/message.py +2 -75
  40. logger_36/task/inspection.py +1 -15
  41. logger_36/task/measure/chronos.py +1 -15
  42. logger_36/task/measure/memory.py +1 -15
  43. logger_36/task/storage.py +1 -15
  44. logger_36/type/handler.py +100 -79
  45. logger_36/type/issue.py +1 -15
  46. logger_36/type/logger.py +69 -85
  47. logger_36/type/loggers.py +2 -17
  48. logger_36/version.py +2 -16
  49. {logger_36-2025.17.dist-info → logger_36-2025.19.dist-info}/METADATA +2 -2
  50. logger_36-2025.19.dist-info/RECORD +52 -0
  51. logger_36/task/format/rule.py +0 -77
  52. logger_36/type/message.py +0 -90
  53. logger_36-2025.17.dist-info/RECORD +0 -54
  54. {logger_36-2025.17.dist-info → logger_36-2025.19.dist-info}/WHEEL +0 -0
  55. {logger_36-2025.17.dist-info → logger_36-2025.19.dist-info}/top_level.txt +0 -0
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -10,28 +10,21 @@ import typing as h
10
10
  from logger_36.catalog.config.optional import RICH_IS_AVAILABLE
11
11
 
12
12
  if RICH_IS_AVAILABLE:
13
- from rich.console import Console as console_t # noqa
14
- from rich.console import ConsoleOptions as console_options_t # noqa
15
- from rich.markup import escape as EscapedForRich # noqa
16
- from rich.terminal_theme import DEFAULT_TERMINAL_THEME # noqa
13
+ from rich.console import Console as console_t
14
+ from rich.markup import escape as EscapedForRich
15
+ from rich.rule import Rule as rule_t
16
+ from rich.terminal_theme import DEFAULT_TERMINAL_THEME
17
+ from rich.text import Text as text_t
17
18
 
18
- from logger_36.catalog.config.console_rich import DATE_TIME_COLOR
19
+ from logger_36.catalog.config.console_rich import RULE_COLOR
19
20
  from logger_36.catalog.handler.console_rich import HighlightedVersion
20
21
  else:
21
- DATE_TIME_COLOR = HighlightedVersion = console_t = console_options_t = (
22
- EscapedForRich
23
- ) = DEFAULT_TERMINAL_THEME = None
22
+ console_t = EscapedForRich = rule_t = DEFAULT_TERMINAL_THEME = text_t = (
23
+ RULE_COLOR
24
+ ) = HighlightedVersion = None
24
25
 
25
- from logger_36.task.format.rule import Rule, RuleAsText
26
26
  from logger_36.type.handler import handler_t as base_t
27
27
 
28
- LogAsIs_h = h.Callable[[str | h.Any], None]
29
-
30
-
31
- @h.runtime_checkable
32
- class DisplayRule_p(h.Protocol):
33
- def __call__(self, /, *, text: str | None = None, color: str = "white") -> None: ...
34
-
35
28
 
36
29
  class generic_handler_t(base_t):
37
30
  """
@@ -39,41 +32,28 @@ class generic_handler_t(base_t):
39
32
  - 0: disabled
40
33
  - 1: enabled for dark background
41
34
  - 2: enabled for light background
42
-
43
- LogAsIs:
44
- Log a message as is, i.e. without formatting. If this is a method, it should
45
- contain the same call(s) as the final ones in the emit methods that are used to
46
- output the formatted log messages. This means that there is some code
47
- duplication, but it avoids a (maybe negligible) slowing down that would arise
48
- from calling this method at the end of the emit methods.
49
- Here, since, by definition, the generic handler does not know how to output
50
- messages, it is a callable attribute that must be set at instantiation time, and
51
- it is indeed called at the end of the emit method.
52
35
  """
53
36
 
54
- kind: h.ClassVar[str] = "g"
55
-
56
37
  def __init__(
57
- self,
58
- name: str | None,
59
- message_width: int,
60
- level: int,
61
- formatter: l.Formatter | None,
62
- kwargs,
38
+ self, name: str | None, message_width: int, level: int, kwargs
63
39
  ) -> None:
64
- """"""
40
+ """
41
+ EmitAsIs: By definition, the generic handler does not know how to output
42
+ messages. If not passed, it defaults to output-ing messages in the console.
43
+ """
44
+ EmitAsIs = kwargs.pop("EmitAsIs", None)
65
45
  alternating_logs = kwargs.pop("alternating_logs", 0)
66
- LogAsIs = kwargs.pop("LogAsIs", lambda _, indented=False: print(_))
67
46
  supports_html = kwargs.pop("supports_html", False)
68
47
 
69
48
  assert alternating_logs in (0, 1, 2)
70
49
 
71
- base_t.__init__(self, name, message_width, level, formatter, kwargs)
50
+ base_t.__init__(self, name, message_width, None, level, kwargs)
72
51
 
73
- self.LogAsIs = LogAsIs
74
- self.DisplayRule = None # DisplayRule_p | None.
52
+ if EmitAsIs is not None:
53
+ self.EmitAsIs = EmitAsIs
54
+ self.is_rich = False
75
55
  self.console = None # console_t | None.
76
- self.console_options = None # console_options_t | None.
56
+ self.console_options = None # rich.console.ConsoleOptions | None.
77
57
  self.alternating_logs = alternating_logs
78
58
  self._log_parity = False
79
59
 
@@ -82,13 +62,12 @@ class generic_handler_t(base_t):
82
62
  def __post_init_local__(self, supports_html: bool) -> None:
83
63
  """"""
84
64
  if supports_html and (console_t is not None):
65
+ self.PreProcessedMessage = EscapedForRich
66
+ self.is_rich = True
85
67
  self.console = console_t(highlight=False, force_terminal=True)
86
68
  self.console_options = self.console.options.update(
87
69
  overflow="ignore", no_wrap=True
88
70
  )
89
- self.DisplayRule = self._DisplayRule
90
- else:
91
- self.DisplayRule = self._DisplayRuleAsText
92
71
 
93
72
  @classmethod
94
73
  def New(
@@ -98,25 +77,25 @@ class generic_handler_t(base_t):
98
77
  name: str | None = None,
99
78
  message_width: int = -1,
100
79
  level: int = l.NOTSET,
101
- formatter: l.Formatter | None = None,
102
80
  **kwargs,
103
81
  ) -> h.Self:
104
82
  """"""
105
- return cls(name, message_width, level, formatter, kwargs)
83
+ return cls(name, message_width, level, kwargs)
84
+
85
+ def Rule(self, text: str | None, /, *, color: str = "black") -> str | rule_t:
86
+ """"""
87
+ if self.is_rich:
88
+ if text is None:
89
+ return rule_t(style=color)
90
+ return rule_t(title=text_t(text, style=f"bold {color}"), style=color)
91
+
92
+ return base_t.Rule(self, text, color=color)
106
93
 
107
94
  def emit(self, record: l.LogRecord, /) -> None:
108
95
  """"""
109
- if self.console is None:
110
- message = self.MessageFromRecord(
111
- record, RuleAsText, line_width=self.message_width
112
- )[0]
113
- else:
96
+ if self.is_rich:
114
97
  message, is_not_a_rule = self.MessageFromRecord(
115
- record,
116
- Rule,
117
- line_width=self.message_width,
118
- color=DATE_TIME_COLOR,
119
- PreProcessed=EscapedForRich,
98
+ record, rule_color=RULE_COLOR
120
99
  )
121
100
  if is_not_a_rule:
122
101
  message = HighlightedVersion(
@@ -149,20 +128,12 @@ class generic_handler_t(base_t):
149
128
  message = (
150
129
  "<pre style='margin-bottom:0px'>" + "".join(html_segments) + "</pre>"
151
130
  )
131
+ else:
132
+ message = self.MessageFromRecord(record)[0]
152
133
 
153
- self.LogAsIs(message)
134
+ self.EmitAsIs(message)
154
135
  self._log_parity = not self._log_parity
155
136
 
156
- def _DisplayRuleAsText(
157
- self, /, *, text: str | None = None, color: str = "white"
158
- ) -> None:
159
- """"""
160
- self.LogAsIs(RuleAsText(text, None))
161
-
162
- def _DisplayRule(self, /, *, text: str | None = None, color: str = "white") -> None:
163
- """"""
164
- self.LogAsIs(Rule(text, color))
165
-
166
137
 
167
138
  """
168
139
  COPYRIGHT NOTICE
@@ -194,18 +165,4 @@ The fact that you are presently reading this means that you have had
194
165
  knowledge of the CeCILL license and that you accept its terms.
195
166
 
196
167
  SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
197
-
198
- This software is being developed by Eric Debreuve, a CNRS employee and
199
- member of team Morpheme.
200
- Team Morpheme is a joint team between Inria, CNRS, and UniCA.
201
- It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
202
- I3S, and Laboratory iBV.
203
-
204
- CNRS: https://www.cnrs.fr/index.php/en
205
- Inria: https://www.inria.fr/en/
206
- UniCA: https://univ-cotedazur.eu/
207
- Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
208
- I3S: https://www.i3s.unice.fr/en/
209
- iBV: http://ibv.unice.fr/
210
- Team Morpheme: https://team.inria.fr/morpheme/
211
168
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -44,18 +44,4 @@ The fact that you are presently reading this means that you have had
44
44
  knowledge of the CeCILL license and that you accept its terms.
45
45
 
46
46
  SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
47
-
48
- This software is being developed by Eric Debreuve, a CNRS employee and
49
- member of team Morpheme.
50
- Team Morpheme is a joint team between Inria, CNRS, and UniCA.
51
- It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
52
- I3S, and Laboratory iBV.
53
-
54
- CNRS: https://www.cnrs.fr/index.php/en
55
- Inria: https://www.inria.fr/en/
56
- UniCA: https://univ-cotedazur.eu/
57
- Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
58
- I3S: https://www.i3s.unice.fr/en/
59
- iBV: http://ibv.unice.fr/
60
- Team Morpheme: https://team.inria.fr/morpheme/
61
47
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -73,18 +73,4 @@ The fact that you are presently reading this means that you have had
73
73
  knowledge of the CeCILL license and that you accept its terms.
74
74
 
75
75
  SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
76
-
77
- This software is being developed by Eric Debreuve, a CNRS employee and
78
- member of team Morpheme.
79
- Team Morpheme is a joint team between Inria, CNRS, and UniCA.
80
- It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
81
- I3S, and Laboratory iBV.
82
-
83
- CNRS: https://www.cnrs.fr/index.php/en
84
- Inria: https://www.inria.fr/en/
85
- UniCA: https://univ-cotedazur.eu/
86
- Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
87
- I3S: https://www.i3s.unice.fr/en/
88
- iBV: http://ibv.unice.fr/
89
- Team Morpheme: https://team.inria.fr/morpheme/
90
76
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -114,18 +114,4 @@ The fact that you are presently reading this means that you have had
114
114
  knowledge of the CeCILL license and that you accept its terms.
115
115
 
116
116
  SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
117
-
118
- This software is being developed by Eric Debreuve, a CNRS employee and
119
- member of team Morpheme.
120
- Team Morpheme is a joint team between Inria, CNRS, and UniCA.
121
- It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
122
- I3S, and Laboratory iBV.
123
-
124
- CNRS: https://www.cnrs.fr/index.php/en
125
- Inria: https://www.inria.fr/en/
126
- UniCA: https://univ-cotedazur.eu/
127
- Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
128
- I3S: https://www.i3s.unice.fr/en/
129
- iBV: http://ibv.unice.fr/
130
- Team Morpheme: https://team.inria.fr/morpheme/
131
117
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -67,18 +67,4 @@ The fact that you are presently reading this means that you have had
67
67
  knowledge of the CeCILL license and that you accept its terms.
68
68
 
69
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
70
  """
logger_36/config/issue.py CHANGED
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -39,18 +39,4 @@ The fact that you are presently reading this means that you have had
39
39
  knowledge of the CeCILL license and that you accept its terms.
40
40
 
41
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
42
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -37,18 +37,4 @@ The fact that you are presently reading this means that you have had
37
37
  knowledge of the CeCILL license and that you accept its terms.
38
38
 
39
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
40
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -50,18 +50,4 @@ The fact that you are presently reading this means that you have had
50
50
  knowledge of the CeCILL license and that you accept its terms.
51
51
 
52
52
  SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
53
-
54
- This software is being developed by Eric Debreuve, a CNRS employee and
55
- member of team Morpheme.
56
- Team Morpheme is a joint team between Inria, CNRS, and UniCA.
57
- It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
58
- I3S, and Laboratory iBV.
59
-
60
- CNRS: https://www.cnrs.fr/index.php/en
61
- Inria: https://www.inria.fr/en/
62
- UniCA: https://univ-cotedazur.eu/
63
- Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
64
- I3S: https://www.i3s.unice.fr/en/
65
- iBV: http://ibv.unice.fr/
66
- Team Morpheme: https://team.inria.fr/morpheme/
67
53
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -53,18 +53,4 @@ The fact that you are presently reading this means that you have had
53
53
  knowledge of the CeCILL license and that you accept its terms.
54
54
 
55
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
56
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -53,18 +53,4 @@ The fact that you are presently reading this means that you have had
53
53
  knowledge of the CeCILL license and that you accept its terms.
54
54
 
55
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
56
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -41,18 +41,4 @@ The fact that you are presently reading this means that you have had
41
41
  knowledge of the CeCILL license and that you accept its terms.
42
42
 
43
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
44
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -53,18 +53,4 @@ The fact that you are presently reading this means that you have had
53
53
  knowledge of the CeCILL license and that you accept its terms.
54
54
 
55
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
56
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -41,18 +41,4 @@ The fact that you are presently reading this means that you have had
41
41
  knowledge of the CeCILL license and that you accept its terms.
42
42
 
43
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
44
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -43,18 +43,4 @@ The fact that you are presently reading this means that you have had
43
43
  knowledge of the CeCILL license and that you accept its terms.
44
44
 
45
45
  SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
46
-
47
- This software is being developed by Eric Debreuve, a CNRS employee and
48
- member of team Morpheme.
49
- Team Morpheme is a joint team between Inria, CNRS, and UniCA.
50
- It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
51
- I3S, and Laboratory iBV.
52
-
53
- CNRS: https://www.cnrs.fr/index.php/en
54
- Inria: https://www.inria.fr/en/
55
- UniCA: https://univ-cotedazur.eu/
56
- Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
57
- I3S: https://www.i3s.unice.fr/en/
58
- iBV: http://ibv.unice.fr/
59
- Team Morpheme: https://team.inria.fr/morpheme/
60
46
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -41,18 +41,4 @@ The fact that you are presently reading this means that you have had
41
41
  knowledge of the CeCILL license and that you accept its terms.
42
42
 
43
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
44
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -55,18 +55,4 @@ The fact that you are presently reading this means that you have had
55
55
  knowledge of the CeCILL license and that you accept its terms.
56
56
 
57
57
  SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
58
-
59
- This software is being developed by Eric Debreuve, a CNRS employee and
60
- member of team Morpheme.
61
- Team Morpheme is a joint team between Inria, CNRS, and UniCA.
62
- It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
63
- I3S, and Laboratory iBV.
64
-
65
- CNRS: https://www.cnrs.fr/index.php/en
66
- Inria: https://www.inria.fr/en/
67
- UniCA: https://univ-cotedazur.eu/
68
- Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
69
- I3S: https://www.i3s.unice.fr/en/
70
- iBV: http://ibv.unice.fr/
71
- Team Morpheme: https://team.inria.fr/morpheme/
72
58
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -14,7 +14,7 @@ frame = e.stack(context=0)[-1] # -1=root caller.
14
14
  if path_t(frame.filename).exists():
15
15
  PROJECT_FILE = path_t(frame.filename)
16
16
  if PROJECT_FILE.is_relative_to(USER_FOLDER):
17
- PROJECT_FILE_RELATIVE = path_t("~") / PROJECT_FILE.relative_to(USER_FOLDER)
17
+ PROJECT_FILE_RELATIVE = PROJECT_FILE.relative_to(USER_FOLDER)
18
18
  else:
19
19
  PROJECT_FILE_RELATIVE = PROJECT_FILE
20
20
  PROJECT_FOLDER = PROJECT_FILE.parent
@@ -52,18 +52,4 @@ The fact that you are presently reading this means that you have had
52
52
  knowledge of the CeCILL license and that you accept its terms.
53
53
 
54
54
  SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
55
-
56
- This software is being developed by Eric Debreuve, a CNRS employee and
57
- member of team Morpheme.
58
- Team Morpheme is a joint team between Inria, CNRS, and UniCA.
59
- It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
60
- I3S, and Laboratory iBV.
61
-
62
- CNRS: https://www.cnrs.fr/index.php/en
63
- Inria: https://www.inria.fr/en/
64
- UniCA: https://univ-cotedazur.eu/
65
- Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
66
- I3S: https://www.i3s.unice.fr/en/
67
- iBV: http://ibv.unice.fr/
68
- Team Morpheme: https://team.inria.fr/morpheme/
69
55
  """
@@ -1,5 +1,5 @@
1
1
  """
2
- Copyright CNRS/Inria/UniCA
2
+ Copyright CNRS (https://www.cnrs.fr/index.php/en)
3
3
  Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
@@ -37,18 +37,4 @@ The fact that you are presently reading this means that you have had
37
37
  knowledge of the CeCILL license and that you accept its terms.
38
38
 
39
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
40
  """