ft-logger 2026.1__tar.gz

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 (74) hide show
  1. ft_logger-2026.1/MANIFEST.in +6 -0
  2. ft_logger-2026.1/PKG-INFO +124 -0
  3. ft_logger-2026.1/README-COPYRIGHT-utf8.txt +30 -0
  4. ft_logger-2026.1/README-DOCUMENTATION-utf8.txt +12 -0
  5. ft_logger-2026.1/README-LICENCE-utf8.txt +518 -0
  6. ft_logger-2026.1/README-template.rst +93 -0
  7. ft_logger-2026.1/README.rst +93 -0
  8. ft_logger-2026.1/documentation/wiki/description.asciidoc +32 -0
  9. ft_logger-2026.1/package/ft_logger/__init__.py +24 -0
  10. ft_logger-2026.1/package/ft_logger/api/chronos.py +8 -0
  11. ft_logger-2026.1/package/ft_logger/api/handler.py +7 -0
  12. ft_logger-2026.1/package/ft_logger/api/logger.py +7 -0
  13. ft_logger-2026.1/package/ft_logger/api/memory.py +12 -0
  14. ft_logger-2026.1/package/ft_logger/api/message.py +8 -0
  15. ft_logger-2026.1/package/ft_logger/catalog/config/optional.py +33 -0
  16. ft_logger-2026.1/package/ft_logger/catalog/config/theme_on_dark.py +23 -0
  17. ft_logger-2026.1/package/ft_logger/catalog/config/theme_on_light.py +23 -0
  18. ft_logger-2026.1/package/ft_logger/catalog/handler/color_rich.py +159 -0
  19. ft_logger-2026.1/package/ft_logger/catalog/handler/file.py +60 -0
  20. ft_logger-2026.1/package/ft_logger/catalog/handler/generic.py +125 -0
  21. ft_logger-2026.1/package/ft_logger/catalog/handler/http_local.py +194 -0
  22. ft_logger-2026.1/package/ft_logger/catalog/handler/memory.py +65 -0
  23. ft_logger-2026.1/package/ft_logger/catalog/handler/monochrome.py +51 -0
  24. ft_logger-2026.1/package/ft_logger/catalog/logger/chronos.py +69 -0
  25. ft_logger-2026.1/package/ft_logger/catalog/logger/gpu.py +45 -0
  26. ft_logger-2026.1/package/ft_logger/catalog/logger/memory.py +120 -0
  27. ft_logger-2026.1/package/ft_logger/catalog/logger/system.py +39 -0
  28. ft_logger-2026.1/package/ft_logger/config/memory.py +8 -0
  29. ft_logger-2026.1/package/ft_logger/config/message.py +25 -0
  30. ft_logger-2026.1/package/ft_logger/config/rule.py +8 -0
  31. ft_logger-2026.1/package/ft_logger/config/system.py +24 -0
  32. ft_logger-2026.1/package/ft_logger/constant/chronos.py +18 -0
  33. ft_logger-2026.1/package/ft_logger/constant/color.py +289 -0
  34. ft_logger-2026.1/package/ft_logger/constant/error.py +26 -0
  35. ft_logger-2026.1/package/ft_logger/constant/html.py +51 -0
  36. ft_logger-2026.1/package/ft_logger/constant/logger.py +14 -0
  37. ft_logger-2026.1/package/ft_logger/constant/memory.py +7 -0
  38. ft_logger-2026.1/package/ft_logger/constant/message.py +28 -0
  39. ft_logger-2026.1/package/ft_logger/constant/record.py +13 -0
  40. ft_logger-2026.1/package/ft_logger/constant/rule.py +10 -0
  41. ft_logger-2026.1/package/ft_logger/constant/system.py +16 -0
  42. ft_logger-2026.1/package/ft_logger/constant/theme.py +7 -0
  43. ft_logger-2026.1/package/ft_logger/constant/thread.py +9 -0
  44. ft_logger-2026.1/package/ft_logger/extension/object.py +10 -0
  45. ft_logger-2026.1/package/ft_logger/hint/handle.py +12 -0
  46. ft_logger-2026.1/package/ft_logger/hint/memory.py +9 -0
  47. ft_logger-2026.1/package/ft_logger/hint/message.py +9 -0
  48. ft_logger-2026.1/package/ft_logger/hint/record.py +42 -0
  49. ft_logger-2026.1/package/ft_logger/hint/storage.py +9 -0
  50. ft_logger-2026.1/package/ft_logger/hint/theme.py +18 -0
  51. ft_logger-2026.1/package/ft_logger/hint/value.py +9 -0
  52. ft_logger-2026.1/package/ft_logger/instance/logger.py +13 -0
  53. ft_logger-2026.1/package/ft_logger/task/conversion/color.py +70 -0
  54. ft_logger-2026.1/package/ft_logger/task/conversion/record.py +110 -0
  55. ft_logger-2026.1/package/ft_logger/task/format/chronos.py +36 -0
  56. ft_logger-2026.1/package/ft_logger/task/format/memory.py +78 -0
  57. ft_logger-2026.1/package/ft_logger/task/format/message.py +75 -0
  58. ft_logger-2026.1/package/ft_logger/task/interception.py +134 -0
  59. ft_logger-2026.1/package/ft_logger/task/measure/chronos.py +20 -0
  60. ft_logger-2026.1/package/ft_logger/task/measure/memory.py +37 -0
  61. ft_logger-2026.1/package/ft_logger/type/logger.py +1497 -0
  62. ft_logger-2026.1/package/ft_logger/type/record.py +43 -0
  63. ft_logger-2026.1/package/ft_logger/type/rule.py +47 -0
  64. ft_logger-2026.1/package/ft_logger/type/server.py +67 -0
  65. ft_logger-2026.1/package/ft_logger/type/theme.py +192 -0
  66. ft_logger-2026.1/package/ft_logger/version.py +1 -0
  67. ft_logger-2026.1/package/ft_logger.egg-info/PKG-INFO +124 -0
  68. ft_logger-2026.1/package/ft_logger.egg-info/SOURCES.txt +72 -0
  69. ft_logger-2026.1/package/ft_logger.egg-info/dependency_links.txt +1 -0
  70. ft_logger-2026.1/package/ft_logger.egg-info/requires.txt +1 -0
  71. ft_logger-2026.1/package/ft_logger.egg-info/top_level.txt +1 -0
  72. ft_logger-2026.1/pyproject.toml +6 -0
  73. ft_logger-2026.1/setup.cfg +4 -0
  74. ft_logger-2026.1/setup.py +14 -0
@@ -0,0 +1,6 @@
1
+ include README-template.rst
2
+ include README-COPYRIGHT-utf8.txt
3
+ include README-LICENCE-utf8.txt
4
+ include documentation/wiki/description.asciidoc
5
+
6
+ include README-DOCUMENTATION-utf8.txt
@@ -0,0 +1,124 @@
1
+ Metadata-Version: 2.4
2
+ Name: ft-logger
3
+ Version: 2026.1
4
+ Summary: Simple logger with a catalog of handlers
5
+ Home-page: https://src.koda.cnrs.fr/eric.debreuve/ft-logger/
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/ft-logger/-/wikis/home
10
+ Project-URL: Source, https://src.koda.cnrs.fr/eric.debreuve/ft-logger/
11
+ Keywords: log,warning,error
12
+ Classifier: Topic :: Software Development
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Development Status :: 5 - Production/Stable
16
+ Requires-Python: >=3.14
17
+ Description-Content-Type: text/x-rst
18
+ Requires-Dist: extension-36
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-dist
29
+ Dynamic: requires-python
30
+ Dynamic: summary
31
+
32
+ ..
33
+ SEE COPYRIGHT and LICENCE NOTICES: files README-COPYRIGHT-utf8.txt and
34
+ README-LICENCE-utf8.txt at project source root.
35
+
36
+ .. |PROJECT_NAME| replace:: ft-logger
37
+ .. |SHORT_DESCRIPTION| replace:: Simple logger with a catalog of handlers
38
+
39
+ .. |PYPI_NAME_LITERAL| replace:: ``ft-logger``
40
+ .. |PYPI_PROJECT_URL| replace:: https://pypi.org/project/ft-logger/
41
+ .. _PYPI_PROJECT_URL: https://pypi.org/project/ft-logger/
42
+
43
+ .. |DOCUMENTATION_URL| replace:: https://src.koda.cnrs.fr/eric.debreuve/ft-logger/-/wikis/home
44
+ .. _DOCUMENTATION_URL: https://src.koda.cnrs.fr/eric.debreuve/ft-logger/-/wikis/home
45
+
46
+ .. |DEPENDENCIES_MANDATORY| replace:: extension-36
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
+ Packaging
98
+ =========
99
+
100
+ Missing files for packaging the project from source
101
+ (notably, ``documentation/wiki/description.asciidoc``, ``README-template.rst``, ``pyproject.toml``, and ``setup.py``)
102
+ can be found
103
+ on the `Python package template <https://src.koda.cnrs.fr/eric.debreuve/python-package-template>`_ repository
104
+ and as part of the `documentation wiki <https://src.koda.cnrs.fr/eric.debreuve/ft-logger/-/wikis/home/../description.asciidoc>`_.
105
+
106
+
107
+
108
+ Acknowledgments
109
+ ===============
110
+
111
+ .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
112
+ :target: https://github.com/psf/black
113
+ .. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
114
+ :target: https://github.com/timothycrosley/isort/
115
+ .. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
116
+ :target: https://github.com/astral-sh/ruff
117
+
118
+ The project is developed with `PyCharm Community <https://www.jetbrains.com/pycharm/>`_.
119
+
120
+ The code is formatted by `Black <https://github.com/psf/black/>`_, *The Uncompromising Code Formatter*,
121
+ or `Ruff <https://github.com/astral-sh/ruff>`_, *An extremely fast Python linter and code formatter, written in Rust*.
122
+
123
+ The imports are ordered by `isort <https://github.com/timothycrosley/isort/>`_... *your imports, so you don't have to*,
124
+ or `Ruff <https://github.com/astral-sh/ruff>`_, *An extremely fast Python linter and code formatter, written in Rust*.
@@ -0,0 +1,30 @@
1
+ Copyright (c) CNRS (https://www.cnrs.fr/index.php/en)
2
+ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2026
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
@@ -0,0 +1,12 @@
1
+ Most docstrings have been generated by LLMs and tools with minimal or no post-editing.
2
+ In alphabetical order:
3
+ Anthropic/Claude: https://www.anthropic.com/, https://claude.ai/
4
+ DeepSeek: https://deep-seek.ai/
5
+ Ollama: https://ollama.com/
6
+ with models:
7
+ codegeex4
8
+ deepcoder
9
+ deepseek-coder-v2
10
+ granite-code
11
+
12
+ Code comments have been written by contributor(s).