logger-36 2024.1__tar.gz → 2025.3__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {logger-36-2024.1 → logger_36-2025.3}/MANIFEST.in +0 -0
- logger_36-2025.3/PKG-INFO +154 -0
- logger_36-2025.3/README-COPYRIGHT-utf8.txt +44 -0
- {logger-36-2024.1 → logger_36-2025.3}/README-LICENCE-utf8.txt +0 -0
- logger_36-2025.3/README.rst +124 -0
- {logger-36-2024.1 → logger_36-2025.3}/documentation/wiki/description.asciidoc +49 -16
- logger_36-2025.3/package/logger_36/__init__.py +66 -0
- logger_36-2025.3/package/logger_36/api/logger.py +53 -0
- logger_36-2025.3/package/logger_36/api/storage.py +53 -0
- logger_36-2025.3/package/logger_36/catalog/config/console_rich.py +76 -0
- logger_36-2025.3/package/logger_36/catalog/handler/console.py +117 -0
- logger_36-2025.3/package/logger_36/catalog/handler/console_rich.py +235 -0
- logger_36-2025.3/package/logger_36/catalog/handler/file.py +128 -0
- logger_36-2025.3/package/logger_36/catalog/handler/generic.py +228 -0
- logger_36-2025.3/package/logger_36/catalog/logger/chronos.py +61 -0
- logger_36-2025.3/package/logger_36/catalog/logger/gpu.py +90 -0
- logger_36-2025.3/package/logger_36/catalog/logger/memory.py +129 -0
- logger_36-2025.3/package/logger_36/catalog/logger/system.py +84 -0
- logger_36-2025.3/package/logger_36/config/issue.py +56 -0
- logger_36-2025.3/package/logger_36/config/logger.py +103 -0
- logger_36-2025.3/package/logger_36/config/memory.py +54 -0
- logger_36-2025.3/package/logger_36/config/message.py +66 -0
- logger_36-2025.3/package/logger_36/config/system.py +70 -0
- logger_36-2025.3/package/logger_36/constant/error.py +70 -0
- logger_36-2025.3/package/logger_36/constant/generic.py +58 -0
- logger_36-2025.3/package/logger_36/constant/handler.py +58 -0
- logger_36-2025.3/package/logger_36/constant/issue.py +58 -0
- logger_36-2025.3/package/logger_36/constant/logger.py +67 -0
- logger_36-2025.3/package/logger_36/constant/memory.py +58 -0
- logger_36-2025.3/package/logger_36/constant/message.py +72 -0
- logger_36-2025.3/package/logger_36/constant/record.py +55 -0
- logger_36-2025.3/package/logger_36/constant/system.py +60 -0
- logger_36-2025.3/package/logger_36/content.py +55 -0
- logger_36-2025.3/package/logger_36/exception.py +105 -0
- logger_36-2025.3/package/logger_36/gpu.py +53 -0
- logger_36-2025.3/package/logger_36/handler.py +209 -0
- logger_36-2025.3/package/logger_36/instance/logger.py +55 -0
- logger_36-2025.3/package/logger_36/instance/loggers.py +56 -0
- logger_36-2025.3/package/logger_36/memory.py +60 -0
- logger_36-2025.3/package/logger_36/storage.py +53 -0
- logger_36-2025.3/package/logger_36/system.py +53 -0
- logger_36-2025.3/package/logger_36/task/format/memory.py +132 -0
- logger_36-2025.3/package/logger_36/task/format/message.py +111 -0
- logger_36-2025.3/package/logger_36/task/format/rule.py +74 -0
- logger_36-2025.3/package/logger_36/task/inspection.py +149 -0
- logger_36-2025.3/package/logger_36/task/measure/chronos.py +84 -0
- logger_36-2025.3/package/logger_36/task/measure/memory.py +72 -0
- logger_36-2025.3/package/logger_36/task/storage.py +164 -0
- logger_36-2025.3/package/logger_36/time.py +54 -0
- logger_36-2025.3/package/logger_36/type/handler.py +184 -0
- logger_36-2025.3/package/logger_36/type/issue.py +91 -0
- logger_36-2025.3/package/logger_36/type/logger.py +542 -0
- logger_36-2025.3/package/logger_36/type/loggers.py +78 -0
- logger_36-2025.3/package/logger_36/version.py +53 -0
- logger_36-2025.3/package/logger_36.egg-info/PKG-INFO +154 -0
- logger_36-2025.3/package/logger_36.egg-info/SOURCES.txt +59 -0
- {logger-36-2024.1 → logger_36-2025.3}/pyproject.toml +0 -1
- logger_36-2025.3/setup.py +155 -0
- logger-36-2024.1/PKG-INFO +0 -106
- logger-36-2024.1/README-COPYRIGHT-utf8.txt +0 -16
- logger-36-2024.1/README.rst +0 -86
- logger-36-2024.1/logger_36/__init__.py +0 -44
- logger-36-2024.1/logger_36/catalog/gpu.py +0 -56
- logger-36-2024.1/logger_36/catalog/memory.py +0 -109
- logger-36-2024.1/logger_36/catalog/system.py +0 -84
- logger-36-2024.1/logger_36/config.py +0 -48
- logger-36-2024.1/logger_36/constant.py +0 -52
- logger-36-2024.1/logger_36/instance.py +0 -34
- logger-36-2024.1/logger_36/main.py +0 -96
- logger-36-2024.1/logger_36/measure/chronos.py +0 -55
- logger-36-2024.1/logger_36/measure/memory.py +0 -50
- logger-36-2024.1/logger_36/task/inspection.py +0 -127
- logger-36-2024.1/logger_36/task/storage.py +0 -83
- logger-36-2024.1/logger_36/type/console.py +0 -122
- logger-36-2024.1/logger_36/type/extension.py +0 -122
- logger-36-2024.1/logger_36/type/file.py +0 -52
- logger-36-2024.1/logger_36/type/generic.py +0 -115
- logger-36-2024.1/logger_36/version.py +0 -32
- logger-36-2024.1/logger_36.egg-info/PKG-INFO +0 -106
- logger-36-2024.1/logger_36.egg-info/SOURCES.txt +0 -29
- logger-36-2024.1/logger_36.egg-info/requires.txt +0 -1
- logger-36-2024.1/setup.py +0 -167
- {logger-36-2024.1 → logger_36-2025.3/package}/logger_36.egg-info/dependency_links.txt +0 -0
- {logger-36-2024.1 → logger_36-2025.3/package}/logger_36.egg-info/top_level.txt +0 -0
- {logger-36-2024.1 → logger_36-2025.3}/setup.cfg +0 -0
File without changes
|
@@ -0,0 +1,154 @@
|
|
1
|
+
Metadata-Version: 2.2
|
2
|
+
Name: logger-36
|
3
|
+
Version: 2025.3
|
4
|
+
Summary: Simple logger with a catalog of handlers
|
5
|
+
Home-page: https://src.koda.cnrs.fr/eric.debreuve/logger-36/
|
6
|
+
Author: Eric Debreuve
|
7
|
+
Author-email: eric.debreuve@cnrs.fr
|
8
|
+
License: CeCILL-2.1
|
9
|
+
Project-URL: Documentation, https://src.koda.cnrs.fr/eric.debreuve/logger-36/-/wikis/home
|
10
|
+
Project-URL: Source, https://src.koda.cnrs.fr/eric.debreuve/logger-36/
|
11
|
+
Keywords: log,warning,error
|
12
|
+
Classifier: Topic :: Software Development
|
13
|
+
Classifier: Intended Audience :: Developers
|
14
|
+
Classifier: License :: OSI Approved :: CEA CNRS Inria Logiciel Libre License, version 2.1 (CeCILL-2.1)
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
16
|
+
Classifier: Development Status :: 5 - Production/Stable
|
17
|
+
Requires-Python: >=3.11
|
18
|
+
Description-Content-Type: text/x-rst
|
19
|
+
Dynamic: author
|
20
|
+
Dynamic: author-email
|
21
|
+
Dynamic: classifier
|
22
|
+
Dynamic: description
|
23
|
+
Dynamic: description-content-type
|
24
|
+
Dynamic: home-page
|
25
|
+
Dynamic: keywords
|
26
|
+
Dynamic: license
|
27
|
+
Dynamic: project-url
|
28
|
+
Dynamic: requires-python
|
29
|
+
Dynamic: summary
|
30
|
+
|
31
|
+
..
|
32
|
+
Copyright CNRS/Inria/UniCA
|
33
|
+
Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
|
34
|
+
SEE COPYRIGHT NOTICE BELOW
|
35
|
+
|
36
|
+
.. |PROJECT_NAME| replace:: logger-36
|
37
|
+
.. |SHORT_DESCRIPTION| replace:: Simple logger with a catalog of handlers
|
38
|
+
|
39
|
+
.. |PYPI_NAME_LITERAL| replace:: ``logger-36``
|
40
|
+
.. |PYPI_PROJECT_URL| replace:: https://pypi.org/project/logger-36/
|
41
|
+
.. _PYPI_PROJECT_URL: https://pypi.org/project/logger-36/
|
42
|
+
|
43
|
+
.. |DOCUMENTATION_URL| replace:: https://src.koda.cnrs.fr/eric.debreuve/logger-36/-/wikis/home
|
44
|
+
.. _DOCUMENTATION_URL: https://src.koda.cnrs.fr/eric.debreuve/logger-36/-/wikis/home
|
45
|
+
|
46
|
+
.. |DEPENDENCIES_MANDATORY| replace:: None
|
47
|
+
.. |DEPENDENCIES_OPTIONAL| replace:: psutil, rich, tensorflow, tensorrt
|
48
|
+
|
49
|
+
|
50
|
+
|
51
|
+
===================================
|
52
|
+
|PROJECT_NAME|: |SHORT_DESCRIPTION|
|
53
|
+
===================================
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
Documentation
|
58
|
+
=============
|
59
|
+
|
60
|
+
The documentation is available at |DOCUMENTATION_URL|_.
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
Installation
|
65
|
+
============
|
66
|
+
|
67
|
+
This project is published
|
68
|
+
on the `Python Package Index (PyPI) <https://pypi.org/>`_
|
69
|
+
at: |PYPI_PROJECT_URL|_.
|
70
|
+
It should be installable from Python distribution platforms or Integrated Development Environments (IDEs).
|
71
|
+
Otherwise, it can be installed from a command console using `pip <https://pip.pypa.io/>`_:
|
72
|
+
|
73
|
+
+--------------+-------------------------------------------------------+----------------------------------------------------------+
|
74
|
+
| | For all users (after acquiring administrative rights) | For the current user (no administrative rights required) |
|
75
|
+
+==============+=======================================================+==========================================================+
|
76
|
+
| Installation | ``pip install`` |PYPI_NAME_LITERAL| | ``pip install --user`` |PYPI_NAME_LITERAL| |
|
77
|
+
+--------------+-------------------------------------------------------+----------------------------------------------------------+
|
78
|
+
| Update | ``pip install --upgrade`` |PYPI_NAME_LITERAL| | ``pip install --user --upgrade`` |PYPI_NAME_LITERAL| |
|
79
|
+
+--------------+-------------------------------------------------------+----------------------------------------------------------+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
Dependencies
|
84
|
+
============
|
85
|
+
|
86
|
+
The development relies on several packages:
|
87
|
+
|
88
|
+
- Mandatory: |DEPENDENCIES_MANDATORY|
|
89
|
+
- Optional: |DEPENDENCIES_OPTIONAL|
|
90
|
+
|
91
|
+
The mandatory dependencies, if any, are installed automatically by `pip <https://pip.pypa.io/>`_, if they are not already, as part of the installation of |PROJECT_NAME|.
|
92
|
+
Python distribution platforms or Integrated Development Environments (IDEs) should also take care of this.
|
93
|
+
The optional dependencies, if any, must be installed independently by following the related instructions, for added functionalities of |PROJECT_NAME|.
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
Acknowledgments
|
98
|
+
===============
|
99
|
+
|
100
|
+
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
|
101
|
+
:target: https://github.com/psf/black
|
102
|
+
.. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
|
103
|
+
:target: https://pycqa.github.io/isort/
|
104
|
+
|
105
|
+
The project is developed with `PyCharm Community <https://www.jetbrains.com/pycharm/>`_.
|
106
|
+
|
107
|
+
The code is formatted by `Black <https://github.com/psf/black/>`_, *The Uncompromising Code Formatter*.
|
108
|
+
|
109
|
+
The imports are ordered by `isort <https://github.com/timothycrosley/isort/>`_... *your imports, so you don't have to*.
|
110
|
+
|
111
|
+
..
|
112
|
+
COPYRIGHT NOTICE
|
113
|
+
|
114
|
+
This software is governed by the CeCILL license under French law and
|
115
|
+
abiding by the rules of distribution of free software. You can use,
|
116
|
+
modify and/ or redistribute the software under the terms of the CeCILL
|
117
|
+
license as circulated by CEA, CNRS and INRIA at the following URL
|
118
|
+
"http://www.cecill.info".
|
119
|
+
|
120
|
+
As a counterpart to the access to the source code and rights to copy,
|
121
|
+
modify and redistribute granted by the license, users are provided only
|
122
|
+
with a limited warranty and the software's author, the holder of the
|
123
|
+
economic rights, and the successive licensors have only limited
|
124
|
+
liability.
|
125
|
+
|
126
|
+
In this respect, the user's attention is drawn to the risks associated
|
127
|
+
with loading, using, modifying and/or developing or reproducing the
|
128
|
+
software by the user in light of its specific status of free software,
|
129
|
+
that may mean that it is complicated to manipulate, and that also
|
130
|
+
therefore means that it is reserved for developers and experienced
|
131
|
+
professionals having in-depth computer knowledge. Users are therefore
|
132
|
+
encouraged to load and test the software's suitability as regards their
|
133
|
+
requirements in conditions enabling the security of their systems and/or
|
134
|
+
data to be ensured and, more generally, to use and operate it in the
|
135
|
+
same conditions as regards security.
|
136
|
+
|
137
|
+
The fact that you are presently reading this means that you have had
|
138
|
+
knowledge of the CeCILL license and that you accept its terms.
|
139
|
+
|
140
|
+
SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
|
141
|
+
|
142
|
+
This software is being developed by Eric Debreuve, a CNRS employee and
|
143
|
+
member of team Morpheme.
|
144
|
+
Team Morpheme is a joint team between Inria, CNRS, and UniCA.
|
145
|
+
It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
|
146
|
+
I3S, and Laboratory iBV.
|
147
|
+
|
148
|
+
CNRS: https://www.cnrs.fr/index.php/en
|
149
|
+
Inria: https://www.inria.fr/en/
|
150
|
+
UniCA: https://univ-cotedazur.eu/
|
151
|
+
Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
|
152
|
+
I3S: https://www.i3s.unice.fr/en/
|
153
|
+
iBV: http://ibv.unice.fr/
|
154
|
+
Team Morpheme: https://team.inria.fr/morpheme/
|
@@ -0,0 +1,44 @@
|
|
1
|
+
Copyright CNRS/Inria/UniCA
|
2
|
+
Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
|
3
|
+
|
4
|
+
This software is governed by the CeCILL license under French law and
|
5
|
+
abiding by the rules of distribution of free software. You can use,
|
6
|
+
modify and/ or redistribute the software under the terms of the CeCILL
|
7
|
+
license as circulated by CEA, CNRS and INRIA at the following URL
|
8
|
+
"http://www.cecill.info".
|
9
|
+
|
10
|
+
As a counterpart to the access to the source code and rights to copy,
|
11
|
+
modify and redistribute granted by the license, users are provided only
|
12
|
+
with a limited warranty and the software's author, the holder of the
|
13
|
+
economic rights, and the successive licensors have only limited
|
14
|
+
liability.
|
15
|
+
|
16
|
+
In this respect, the user's attention is drawn to the risks associated
|
17
|
+
with loading, using, modifying and/or developing or reproducing the
|
18
|
+
software by the user in light of its specific status of free software,
|
19
|
+
that may mean that it is complicated to manipulate, and that also
|
20
|
+
therefore means that it is reserved for developers and experienced
|
21
|
+
professionals having in-depth computer knowledge. Users are therefore
|
22
|
+
encouraged to load and test the software's suitability as regards their
|
23
|
+
requirements in conditions enabling the security of their systems and/or
|
24
|
+
data to be ensured and, more generally, to use and operate it in the
|
25
|
+
same conditions as regards security.
|
26
|
+
|
27
|
+
The fact that you are presently reading this means that you have had
|
28
|
+
knowledge of the CeCILL license and that you accept its terms.
|
29
|
+
|
30
|
+
SEE LICENCE NOTICE: README-LICENCE-utf8.txt
|
31
|
+
|
32
|
+
This software is being developed by Eric Debreuve, a CNRS employee and
|
33
|
+
member of team Morpheme.
|
34
|
+
Team Morpheme is a joint team between Inria, CNRS, and UniCA.
|
35
|
+
It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
|
36
|
+
I3S, and Laboratory iBV.
|
37
|
+
|
38
|
+
CNRS: https://www.cnrs.fr/index.php/en
|
39
|
+
Inria: https://www.inria.fr/en/
|
40
|
+
UniCA: https://univ-cotedazur.eu/
|
41
|
+
Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
|
42
|
+
I3S: https://www.i3s.unice.fr/en/
|
43
|
+
iBV: http://ibv.unice.fr/
|
44
|
+
Team Morpheme: https://team.inria.fr/morpheme/
|
File without changes
|
@@ -0,0 +1,124 @@
|
|
1
|
+
..
|
2
|
+
Copyright CNRS/Inria/UniCA
|
3
|
+
Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
|
4
|
+
SEE COPYRIGHT NOTICE BELOW
|
5
|
+
|
6
|
+
.. |PROJECT_NAME| replace:: logger-36
|
7
|
+
.. |SHORT_DESCRIPTION| replace:: Simple logger with a catalog of handlers
|
8
|
+
|
9
|
+
.. |PYPI_NAME_LITERAL| replace:: ``logger-36``
|
10
|
+
.. |PYPI_PROJECT_URL| replace:: https://pypi.org/project/logger-36/
|
11
|
+
.. _PYPI_PROJECT_URL: https://pypi.org/project/logger-36/
|
12
|
+
|
13
|
+
.. |DOCUMENTATION_URL| replace:: https://src.koda.cnrs.fr/eric.debreuve/logger-36/-/wikis/home
|
14
|
+
.. _DOCUMENTATION_URL: https://src.koda.cnrs.fr/eric.debreuve/logger-36/-/wikis/home
|
15
|
+
|
16
|
+
.. |DEPENDENCIES_MANDATORY| replace:: None
|
17
|
+
.. |DEPENDENCIES_OPTIONAL| replace:: psutil, rich, tensorflow, tensorrt
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
===================================
|
22
|
+
|PROJECT_NAME|: |SHORT_DESCRIPTION|
|
23
|
+
===================================
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
Documentation
|
28
|
+
=============
|
29
|
+
|
30
|
+
The documentation is available at |DOCUMENTATION_URL|_.
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
Installation
|
35
|
+
============
|
36
|
+
|
37
|
+
This project is published
|
38
|
+
on the `Python Package Index (PyPI) <https://pypi.org/>`_
|
39
|
+
at: |PYPI_PROJECT_URL|_.
|
40
|
+
It should be installable from Python distribution platforms or Integrated Development Environments (IDEs).
|
41
|
+
Otherwise, it can be installed from a command console using `pip <https://pip.pypa.io/>`_:
|
42
|
+
|
43
|
+
+--------------+-------------------------------------------------------+----------------------------------------------------------+
|
44
|
+
| | For all users (after acquiring administrative rights) | For the current user (no administrative rights required) |
|
45
|
+
+==============+=======================================================+==========================================================+
|
46
|
+
| Installation | ``pip install`` |PYPI_NAME_LITERAL| | ``pip install --user`` |PYPI_NAME_LITERAL| |
|
47
|
+
+--------------+-------------------------------------------------------+----------------------------------------------------------+
|
48
|
+
| Update | ``pip install --upgrade`` |PYPI_NAME_LITERAL| | ``pip install --user --upgrade`` |PYPI_NAME_LITERAL| |
|
49
|
+
+--------------+-------------------------------------------------------+----------------------------------------------------------+
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
Dependencies
|
54
|
+
============
|
55
|
+
|
56
|
+
The development relies on several packages:
|
57
|
+
|
58
|
+
- Mandatory: |DEPENDENCIES_MANDATORY|
|
59
|
+
- Optional: |DEPENDENCIES_OPTIONAL|
|
60
|
+
|
61
|
+
The mandatory dependencies, if any, are installed automatically by `pip <https://pip.pypa.io/>`_, if they are not already, as part of the installation of |PROJECT_NAME|.
|
62
|
+
Python distribution platforms or Integrated Development Environments (IDEs) should also take care of this.
|
63
|
+
The optional dependencies, if any, must be installed independently by following the related instructions, for added functionalities of |PROJECT_NAME|.
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
Acknowledgments
|
68
|
+
===============
|
69
|
+
|
70
|
+
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
|
71
|
+
:target: https://github.com/psf/black
|
72
|
+
.. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
|
73
|
+
:target: https://pycqa.github.io/isort/
|
74
|
+
|
75
|
+
The project is developed with `PyCharm Community <https://www.jetbrains.com/pycharm/>`_.
|
76
|
+
|
77
|
+
The code is formatted by `Black <https://github.com/psf/black/>`_, *The Uncompromising Code Formatter*.
|
78
|
+
|
79
|
+
The imports are ordered by `isort <https://github.com/timothycrosley/isort/>`_... *your imports, so you don't have to*.
|
80
|
+
|
81
|
+
..
|
82
|
+
COPYRIGHT NOTICE
|
83
|
+
|
84
|
+
This software is governed by the CeCILL license under French law and
|
85
|
+
abiding by the rules of distribution of free software. You can use,
|
86
|
+
modify and/ or redistribute the software under the terms of the CeCILL
|
87
|
+
license as circulated by CEA, CNRS and INRIA at the following URL
|
88
|
+
"http://www.cecill.info".
|
89
|
+
|
90
|
+
As a counterpart to the access to the source code and rights to copy,
|
91
|
+
modify and redistribute granted by the license, users are provided only
|
92
|
+
with a limited warranty and the software's author, the holder of the
|
93
|
+
economic rights, and the successive licensors have only limited
|
94
|
+
liability.
|
95
|
+
|
96
|
+
In this respect, the user's attention is drawn to the risks associated
|
97
|
+
with loading, using, modifying and/or developing or reproducing the
|
98
|
+
software by the user in light of its specific status of free software,
|
99
|
+
that may mean that it is complicated to manipulate, and that also
|
100
|
+
therefore means that it is reserved for developers and experienced
|
101
|
+
professionals having in-depth computer knowledge. Users are therefore
|
102
|
+
encouraged to load and test the software's suitability as regards their
|
103
|
+
requirements in conditions enabling the security of their systems and/or
|
104
|
+
data to be ensured and, more generally, to use and operate it in the
|
105
|
+
same conditions as regards security.
|
106
|
+
|
107
|
+
The fact that you are presently reading this means that you have had
|
108
|
+
knowledge of the CeCILL license and that you accept its terms.
|
109
|
+
|
110
|
+
SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
|
111
|
+
|
112
|
+
This software is being developed by Eric Debreuve, a CNRS employee and
|
113
|
+
member of team Morpheme.
|
114
|
+
Team Morpheme is a joint team between Inria, CNRS, and UniCA.
|
115
|
+
It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
|
116
|
+
I3S, and Laboratory iBV.
|
117
|
+
|
118
|
+
CNRS: https://www.cnrs.fr/index.php/en
|
119
|
+
Inria: https://www.inria.fr/en/
|
120
|
+
UniCA: https://univ-cotedazur.eu/
|
121
|
+
Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
|
122
|
+
I3S: https://www.i3s.unice.fr/en/
|
123
|
+
iBV: http://ibv.unice.fr/
|
124
|
+
Team Morpheme: https://team.inria.fr/morpheme/
|
@@ -1,7 +1,36 @@
|
|
1
|
-
// Copyright CNRS/Inria/
|
2
|
-
// Contributor(s): Eric Debreuve (since 2023
|
3
|
-
//
|
4
|
-
|
1
|
+
// Copyright CNRS/Inria/UniCA
|
2
|
+
// Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2023
|
3
|
+
// SEE COPYRIGHT NOTICE BELOW
|
4
|
+
|
5
|
+
:AUTHOR: Eric Debreuve
|
6
|
+
:EMAIL: eric.debreuve@cnrs.fr
|
7
|
+
|
8
|
+
:PROJECT_NAME: logger-36
|
9
|
+
:SHORT_DESCRIPTION: Simple logger with a catalog of handlers
|
10
|
+
:KEYWORDS: log, warning, error
|
11
|
+
|
12
|
+
:REPOSITORY_NAME: logger-36
|
13
|
+
:REPOSITORY_USER: eric.debreuve
|
14
|
+
:REPOSITORY_SITE: src.koda.cnrs.fr
|
15
|
+
:DOCUMENTATION_SITE: -/wikis/home
|
16
|
+
:SINCE_YEAR: 2023
|
17
|
+
|
18
|
+
:LICENSE_SHORT: CeCILL-2.1
|
19
|
+
:LICENCE_LONG: CEA CNRS Inria Logiciel Libre License, version 2.1
|
20
|
+
:PY_VERSION_MAJOR: 3
|
21
|
+
:PY_VERSION_MIN: 3.11
|
22
|
+
|
23
|
+
:PYPI_NAME: logger-36
|
24
|
+
:PYPI_TOPIC: Software Development
|
25
|
+
:PYPI_AUDIENCE: Developers
|
26
|
+
:PYPI_STATUS: 5 - Production/Stable
|
27
|
+
|
28
|
+
:IMPORT_NAME: logger_36
|
29
|
+
:CONFIG_FOLDER: None
|
30
|
+
|
31
|
+
:DEPENDENCIES_OPTIONAL: psutil, rich, tensorflow, tensorrt
|
32
|
+
|
33
|
+
// COPYRIGHT NOTICE
|
5
34
|
//
|
6
35
|
// This software is governed by the CeCILL license under French law and
|
7
36
|
// abiding by the rules of distribution of free software. You can use,
|
@@ -28,15 +57,19 @@
|
|
28
57
|
//
|
29
58
|
// The fact that you are presently reading this means that you have had
|
30
59
|
// knowledge of the CeCILL license and that you accept its terms.
|
31
|
-
|
32
|
-
:
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
:
|
41
|
-
:
|
42
|
-
:
|
60
|
+
//
|
61
|
+
// SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
|
62
|
+
//
|
63
|
+
// This software is being developed by Eric Debreuve, a CNRS employee and
|
64
|
+
// member of team Morpheme.
|
65
|
+
// Team Morpheme is a joint team between Inria, CNRS, and UniCA.
|
66
|
+
// It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
|
67
|
+
// I3S, and Laboratory iBV.
|
68
|
+
//
|
69
|
+
// CNRS: https://www.cnrs.fr/index.php/en
|
70
|
+
// Inria: https://www.inria.fr/en/
|
71
|
+
// UniCA: https://univ-cotedazur.eu/
|
72
|
+
// Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
|
73
|
+
// I3S: https://www.i3s.unice.fr/en/
|
74
|
+
// iBV: http://ibv.unice.fr/
|
75
|
+
// Team Morpheme: https://team.inria.fr/morpheme/
|
@@ -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
|
+
try:
|
8
|
+
from beartype.claw import beartype_this_package # noqa
|
9
|
+
except ModuleNotFoundError:
|
10
|
+
pass
|
11
|
+
else:
|
12
|
+
import site
|
13
|
+
from pathlib import Path as path_t
|
14
|
+
paths = site.getsitepackages() + [site.getusersitepackages()]
|
15
|
+
folder = path_t(__file__).parent
|
16
|
+
if folder not in paths:
|
17
|
+
beartype_this_package()
|
18
|
+
|
19
|
+
from logger_36.instance.logger import LOGGER
|
20
|
+
from logger_36.version import __version__
|
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,53 @@
|
|
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.logger import logger_t
|
8
|
+
|
9
|
+
"""
|
10
|
+
COPYRIGHT NOTICE
|
11
|
+
|
12
|
+
This software is governed by the CeCILL license under French law and
|
13
|
+
abiding by the rules of distribution of free software. You can use,
|
14
|
+
modify and/ or redistribute the software under the terms of the CeCILL
|
15
|
+
license as circulated by CEA, CNRS and INRIA at the following URL
|
16
|
+
"http://www.cecill.info".
|
17
|
+
|
18
|
+
As a counterpart to the access to the source code and rights to copy,
|
19
|
+
modify and redistribute granted by the license, users are provided only
|
20
|
+
with a limited warranty and the software's author, the holder of the
|
21
|
+
economic rights, and the successive licensors have only limited
|
22
|
+
liability.
|
23
|
+
|
24
|
+
In this respect, the user's attention is drawn to the risks associated
|
25
|
+
with loading, using, modifying and/or developing or reproducing the
|
26
|
+
software by the user in light of its specific status of free software,
|
27
|
+
that may mean that it is complicated to manipulate, and that also
|
28
|
+
therefore means that it is reserved for developers and experienced
|
29
|
+
professionals having in-depth computer knowledge. Users are therefore
|
30
|
+
encouraged to load and test the software's suitability as regards their
|
31
|
+
requirements in conditions enabling the security of their systems and/or
|
32
|
+
data to be ensured and, more generally, to use and operate it in the
|
33
|
+
same conditions as regards security.
|
34
|
+
|
35
|
+
The fact that you are presently reading this means that you have had
|
36
|
+
knowledge of the CeCILL license and that you accept its terms.
|
37
|
+
|
38
|
+
SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
|
39
|
+
|
40
|
+
This software is being developed by Eric Debreuve, a CNRS employee and
|
41
|
+
member of team Morpheme.
|
42
|
+
Team Morpheme is a joint team between Inria, CNRS, and UniCA.
|
43
|
+
It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
|
44
|
+
I3S, and Laboratory iBV.
|
45
|
+
|
46
|
+
CNRS: https://www.cnrs.fr/index.php/en
|
47
|
+
Inria: https://www.inria.fr/en/
|
48
|
+
UniCA: https://univ-cotedazur.eu/
|
49
|
+
Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
|
50
|
+
I3S: https://www.i3s.unice.fr/en/
|
51
|
+
iBV: http://ibv.unice.fr/
|
52
|
+
Team Morpheme: https://team.inria.fr/morpheme/
|
53
|
+
"""
|
@@ -0,0 +1,53 @@
|
|
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.task.storage import html_reader_t
|
8
|
+
|
9
|
+
"""
|
10
|
+
COPYRIGHT NOTICE
|
11
|
+
|
12
|
+
This software is governed by the CeCILL license under French law and
|
13
|
+
abiding by the rules of distribution of free software. You can use,
|
14
|
+
modify and/ or redistribute the software under the terms of the CeCILL
|
15
|
+
license as circulated by CEA, CNRS and INRIA at the following URL
|
16
|
+
"http://www.cecill.info".
|
17
|
+
|
18
|
+
As a counterpart to the access to the source code and rights to copy,
|
19
|
+
modify and redistribute granted by the license, users are provided only
|
20
|
+
with a limited warranty and the software's author, the holder of the
|
21
|
+
economic rights, and the successive licensors have only limited
|
22
|
+
liability.
|
23
|
+
|
24
|
+
In this respect, the user's attention is drawn to the risks associated
|
25
|
+
with loading, using, modifying and/or developing or reproducing the
|
26
|
+
software by the user in light of its specific status of free software,
|
27
|
+
that may mean that it is complicated to manipulate, and that also
|
28
|
+
therefore means that it is reserved for developers and experienced
|
29
|
+
professionals having in-depth computer knowledge. Users are therefore
|
30
|
+
encouraged to load and test the software's suitability as regards their
|
31
|
+
requirements in conditions enabling the security of their systems and/or
|
32
|
+
data to be ensured and, more generally, to use and operate it in the
|
33
|
+
same conditions as regards security.
|
34
|
+
|
35
|
+
The fact that you are presently reading this means that you have had
|
36
|
+
knowledge of the CeCILL license and that you accept its terms.
|
37
|
+
|
38
|
+
SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
|
39
|
+
|
40
|
+
This software is being developed by Eric Debreuve, a CNRS employee and
|
41
|
+
member of team Morpheme.
|
42
|
+
Team Morpheme is a joint team between Inria, CNRS, and UniCA.
|
43
|
+
It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
|
44
|
+
I3S, and Laboratory iBV.
|
45
|
+
|
46
|
+
CNRS: https://www.cnrs.fr/index.php/en
|
47
|
+
Inria: https://www.inria.fr/en/
|
48
|
+
UniCA: https://univ-cotedazur.eu/
|
49
|
+
Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
|
50
|
+
I3S: https://www.i3s.unice.fr/en/
|
51
|
+
iBV: http://ibv.unice.fr/
|
52
|
+
Team Morpheme: https://team.inria.fr/morpheme/
|
53
|
+
"""
|
@@ -0,0 +1,76 @@
|
|
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 rich.color import Color as color_t
|
10
|
+
from rich.style import Style as style_t
|
11
|
+
|
12
|
+
"""
|
13
|
+
Colors: See https://rich.readthedocs.io/en/stable/appendix/colors.html.
|
14
|
+
"""
|
15
|
+
WHITE_COLOR = "grey85"
|
16
|
+
GRAY_COLOR = "grey58"
|
17
|
+
|
18
|
+
LEVEL_COLOR: dict[int, str | style_t] = {
|
19
|
+
lggg.DEBUG: "orchid",
|
20
|
+
lggg.INFO: GRAY_COLOR,
|
21
|
+
lggg.WARNING: "yellow1",
|
22
|
+
lggg.ERROR: "dark_orange",
|
23
|
+
lggg.CRITICAL: "bright_red",
|
24
|
+
}
|
25
|
+
ACTUAL_COLOR = LEVEL_COLOR[lggg.CRITICAL]
|
26
|
+
EXPECTED_COLOR = "green3"
|
27
|
+
DATE_TIME_COLOR = "sky_blue3"
|
28
|
+
|
29
|
+
ALTERNATIVE_BACKGROUND_FOR_LIGHT = style_t(bgcolor=color_t.from_rgb(230, 230, 230))
|
30
|
+
ALTERNATIVE_BACKGROUND_FOR_DARK = style_t(bgcolor=color_t.from_rgb(25, 25, 25))
|
31
|
+
|
32
|
+
"""
|
33
|
+
COPYRIGHT NOTICE
|
34
|
+
|
35
|
+
This software is governed by the CeCILL license under French law and
|
36
|
+
abiding by the rules of distribution of free software. You can use,
|
37
|
+
modify and/ or redistribute the software under the terms of the CeCILL
|
38
|
+
license as circulated by CEA, CNRS and INRIA at the following URL
|
39
|
+
"http://www.cecill.info".
|
40
|
+
|
41
|
+
As a counterpart to the access to the source code and rights to copy,
|
42
|
+
modify and redistribute granted by the license, users are provided only
|
43
|
+
with a limited warranty and the software's author, the holder of the
|
44
|
+
economic rights, and the successive licensors have only limited
|
45
|
+
liability.
|
46
|
+
|
47
|
+
In this respect, the user's attention is drawn to the risks associated
|
48
|
+
with loading, using, modifying and/or developing or reproducing the
|
49
|
+
software by the user in light of its specific status of free software,
|
50
|
+
that may mean that it is complicated to manipulate, and that also
|
51
|
+
therefore means that it is reserved for developers and experienced
|
52
|
+
professionals having in-depth computer knowledge. Users are therefore
|
53
|
+
encouraged to load and test the software's suitability as regards their
|
54
|
+
requirements in conditions enabling the security of their systems and/or
|
55
|
+
data to be ensured and, more generally, to use and operate it in the
|
56
|
+
same conditions as regards security.
|
57
|
+
|
58
|
+
The fact that you are presently reading this means that you have had
|
59
|
+
knowledge of the CeCILL license and that you accept its terms.
|
60
|
+
|
61
|
+
SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
|
62
|
+
|
63
|
+
This software is being developed by Eric Debreuve, a CNRS employee and
|
64
|
+
member of team Morpheme.
|
65
|
+
Team Morpheme is a joint team between Inria, CNRS, and UniCA.
|
66
|
+
It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
|
67
|
+
I3S, and Laboratory iBV.
|
68
|
+
|
69
|
+
CNRS: https://www.cnrs.fr/index.php/en
|
70
|
+
Inria: https://www.inria.fr/en/
|
71
|
+
UniCA: https://univ-cotedazur.eu/
|
72
|
+
Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
|
73
|
+
I3S: https://www.i3s.unice.fr/en/
|
74
|
+
iBV: http://ibv.unice.fr/
|
75
|
+
Team Morpheme: https://team.inria.fr/morpheme/
|
76
|
+
"""
|