babelplot 2025.10__tar.gz → 2025.11__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 (46) hide show
  1. {babelplot-2025.10 → babelplot-2025.11}/PKG-INFO +2 -3
  2. {babelplot-2025.10 → babelplot-2025.11}/README.rst +1 -1
  3. babelplot-2025.10/package/babelplot/api/definition.py → babelplot-2025.11/package/babelplot/api/type.py +3 -2
  4. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/backend/helper/creation.py +5 -0
  5. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/backend/helper/validation.py +5 -0
  6. babelplot-2025.10/package/babelplot/api/help.py → babelplot-2025.11/package/babelplot/constant/backend.py +6 -2
  7. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/task/help.py +5 -0
  8. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/task/showing.py +4 -4
  9. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/type/backend.py +1 -1
  10. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/type/ffp_base.py +2 -3
  11. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/version.py +1 -1
  12. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot.egg-info/PKG-INFO +2 -3
  13. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot.egg-info/SOURCES.txt +1 -3
  14. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot.egg-info/requires.txt +0 -1
  15. {babelplot-2025.10 → babelplot-2025.11}/requirements.txt +0 -1
  16. babelplot-2025.10/package/babelplot/api/backend.py +0 -54
  17. babelplot-2025.10/package/babelplot/constant/backend.py +0 -65
  18. {babelplot-2025.10 → babelplot-2025.11}/MANIFEST.in +0 -0
  19. {babelplot-2025.10 → babelplot-2025.11}/README-COPYRIGHT-utf8.txt +0 -0
  20. {babelplot-2025.10 → babelplot-2025.11}/README-LICENCE-utf8.txt +0 -0
  21. {babelplot-2025.10 → babelplot-2025.11}/documentation/wiki/description.asciidoc +0 -0
  22. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/__init__.py +0 -0
  23. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/backend/catalog/bokeh_.py +0 -0
  24. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/backend/catalog/matplotlib_.py +0 -0
  25. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/backend/catalog/plotly_.py +0 -0
  26. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/backend/catalog/vedo_.py +0 -0
  27. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/constant/path.py +0 -0
  28. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/constant/project.py +0 -0
  29. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/extension/enum_.py +0 -0
  30. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/extension/function.py +0 -0
  31. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/runtime/backends.py +0 -0
  32. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/task/color.py +0 -0
  33. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/task/instantiation.py +0 -0
  34. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/task/plotting.py +0 -0
  35. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/type/dimension.py +0 -0
  36. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/type/figure.py +0 -0
  37. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/type/frame.py +0 -0
  38. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/type/plot.py +0 -0
  39. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/type/plot_function.py +0 -0
  40. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/type/plot_type.py +0 -0
  41. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot/type/translator.py +0 -0
  42. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot.egg-info/dependency_links.txt +0 -0
  43. {babelplot-2025.10 → babelplot-2025.11}/package/babelplot.egg-info/top_level.txt +0 -0
  44. {babelplot-2025.10 → babelplot-2025.11}/pyproject.toml +0 -0
  45. {babelplot-2025.10 → babelplot-2025.11}/setup.cfg +0 -0
  46. {babelplot-2025.10 → babelplot-2025.11}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: babelplot
3
- Version: 2025.10
3
+ Version: 2025.11
4
4
  Summary: A Meta Plotting Library That Speaks Several Backends
5
5
  Home-page: https://src.koda.cnrs.fr/eric.debreuve/babelplot/
6
6
  Author: Eric Debreuve
@@ -17,7 +17,6 @@ Classifier: Development Status :: 3 - Alpha
17
17
  Requires-Python: >=3.11
18
18
  Description-Content-Type: text/x-rst
19
19
  Requires-Dist: numpy
20
- Requires-Dist: PyQt6
21
20
  Requires-Dist: scikit-image
22
21
  Dynamic: author
23
22
  Dynamic: author-email
@@ -47,7 +46,7 @@ Dynamic: summary
47
46
  .. |DOCUMENTATION_URL| replace:: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
48
47
  .. _DOCUMENTATION_URL: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
49
48
 
50
- .. |DEPENDENCIES_MANDATORY| replace:: numpy, PyQt6, scikit-image
49
+ .. |DEPENDENCIES_MANDATORY| replace:: numpy, scikit-image
51
50
  .. |DEPENDENCIES_OPTIONAL| replace:: bokeh, matplotlib, plotly, vedo
52
51
 
53
52
 
@@ -13,7 +13,7 @@
13
13
  .. |DOCUMENTATION_URL| replace:: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
14
14
  .. _DOCUMENTATION_URL: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
15
15
 
16
- .. |DEPENDENCIES_MANDATORY| replace:: numpy, PyQt6, scikit-image
16
+ .. |DEPENDENCIES_MANDATORY| replace:: numpy, scikit-image
17
17
  .. |DEPENDENCIES_OPTIONAL| replace:: bokeh, matplotlib, plotly, vedo
18
18
 
19
19
 
@@ -4,8 +4,9 @@ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
6
6
 
7
- from babelplot.type.dimension import dim_e # noqa
8
- from babelplot.type.plot_type import plot_e # noqa
7
+ from babelplot.type.figure import figure_t # noqa
8
+ from babelplot.type.frame import frame_t # noqa
9
+ from babelplot.type.plot import plot_t # noqa
9
10
 
10
11
  """
11
12
  COPYRIGHT NOTICE
@@ -88,6 +88,11 @@ def _ParameterIsPositional(parameter: parameter_w_name_h, /) -> bool:
88
88
  )
89
89
 
90
90
 
91
+ if __name__ == "__main__":
92
+ #
93
+ PrintBackendDraft(s.argv[1])
94
+
95
+
91
96
  """
92
97
  COPYRIGHT NOTICE
93
98
 
@@ -101,6 +101,11 @@ def _PlotFunctionsIssues(plots: plot_functions_h, /) -> h.Sequence[str] | None:
101
101
  return None
102
102
 
103
103
 
104
+ if __name__ == "__main__":
105
+ #
106
+ CheckBackend(s.argv[1])
107
+
108
+
104
109
  """
105
110
  COPYRIGHT NOTICE
106
111
 
@@ -4,8 +4,12 @@ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
6
6
 
7
- from babelplot.task.help import PrintHelp # noqa
8
- from babelplot.task.help import PrintUsage # noqa
7
+ DEFAULT_BACKEND = "matplotlib"
8
+
9
+ BACKEND_FROM_ALIAS = {
10
+ "mpl": "matplotlib",
11
+ "v3do": "vedo",
12
+ }
9
13
 
10
14
  """
11
15
  COPYRIGHT NOTICE
@@ -98,6 +98,11 @@ def PrintHelp() -> None:
98
98
  PrintUsage()
99
99
 
100
100
 
101
+ if __name__ == "__main__":
102
+ #
103
+ PrintHelp()
104
+
105
+
101
106
  """
102
107
  COPYRIGHT NOTICE
103
108
 
@@ -13,10 +13,10 @@ import typing as h
13
13
 
14
14
  from babelplot.constant.project import NAME
15
15
  from babelplot.type.figure import figure_t
16
- from PyQt6.QtCore import QUrl as url_t
17
- from PyQt6.QtWebEngineWidgets import QWebEngineView as web_view_t
18
- from PyQt6.QtWidgets import QApplication as application_t
19
- from PyQt6.QtWidgets import QStackedWidget as stack_t
16
+ from PyQt6.QtCore import QUrl as url_t # noqa
17
+ from PyQt6.QtWebEngineWidgets import QWebEngineView as web_view_t # noqa
18
+ from PyQt6.QtWidgets import QApplication as application_t # noqa
19
+ from PyQt6.QtWidgets import QStackedWidget as stack_t # noqa
20
20
 
21
21
  TOO_BIG_OF_AN_HTML = 5_000_000
22
22
  PATIENCE = """
@@ -117,7 +117,7 @@ class backend_t:
117
117
 
118
118
  def __str__(self) -> str:
119
119
  """"""
120
- return f"{self.path}, {self.py_path}, {self.plot_functions is not None}"
120
+ return self.py_path
121
121
 
122
122
 
123
123
  @d.dataclass(slots=True, repr=False, eq=False)
@@ -23,13 +23,12 @@ backend_element_h = backend_figure_h | backend_frame_h | backend_plot_h
23
23
  @d.dataclass(slots=True, repr=False, eq=False)
24
24
  class base_t:
25
25
  """
26
- backend_name: Cannot be backend_e since external backends would not be accounted for then.
26
+ raw: Certain plots of certain libraries might be composed of a list of plots,
27
+ not just a unique plot, or even richer outputs (e.g., with Matplotlib).
27
28
  property: In case the backend does not make it easy to retrieve some properties,
28
29
  they are stored here. E.g., how to retrieve the marker of a scatter plot in
29
30
  Matplotlib?
30
31
  /!\\ Do not forget to initialize it with kwargs during element instantiation.
31
- raw: Certain plots of certain libraries might be composed of a list of plots,
32
- not just a unique plot, or even richer outputs (e.g., with Matplotlib).
33
32
  """
34
33
 
35
34
  backend_name: str | None = None
@@ -4,7 +4,7 @@ Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
4
4
  SEE COPYRIGHT NOTICE BELOW
5
5
  """
6
6
 
7
- __version__ = "2025.10"
7
+ __version__ = "2025.11"
8
8
 
9
9
  """
10
10
  COPYRIGHT NOTICE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: babelplot
3
- Version: 2025.10
3
+ Version: 2025.11
4
4
  Summary: A Meta Plotting Library That Speaks Several Backends
5
5
  Home-page: https://src.koda.cnrs.fr/eric.debreuve/babelplot/
6
6
  Author: Eric Debreuve
@@ -17,7 +17,6 @@ Classifier: Development Status :: 3 - Alpha
17
17
  Requires-Python: >=3.11
18
18
  Description-Content-Type: text/x-rst
19
19
  Requires-Dist: numpy
20
- Requires-Dist: PyQt6
21
20
  Requires-Dist: scikit-image
22
21
  Dynamic: author
23
22
  Dynamic: author-email
@@ -47,7 +46,7 @@ Dynamic: summary
47
46
  .. |DOCUMENTATION_URL| replace:: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
48
47
  .. _DOCUMENTATION_URL: https://src.koda.cnrs.fr/eric.debreuve/babelplot/-/wikis/home
49
48
 
50
- .. |DEPENDENCIES_MANDATORY| replace:: numpy, PyQt6, scikit-image
49
+ .. |DEPENDENCIES_MANDATORY| replace:: numpy, scikit-image
51
50
  .. |DEPENDENCIES_OPTIONAL| replace:: bokeh, matplotlib, plotly, vedo
52
51
 
53
52
 
@@ -13,9 +13,7 @@ package/babelplot.egg-info/SOURCES.txt
13
13
  package/babelplot.egg-info/dependency_links.txt
14
14
  package/babelplot.egg-info/requires.txt
15
15
  package/babelplot.egg-info/top_level.txt
16
- package/babelplot/api/backend.py
17
- package/babelplot/api/definition.py
18
- package/babelplot/api/help.py
16
+ package/babelplot/api/type.py
19
17
  package/babelplot/backend/catalog/bokeh_.py
20
18
  package/babelplot/backend/catalog/matplotlib_.py
21
19
  package/babelplot/backend/catalog/plotly_.py
@@ -1,3 +1,2 @@
1
1
  numpy
2
- PyQt6
3
2
  scikit-image
@@ -1,3 +1,2 @@
1
1
  numpy
2
- PyQt6
3
2
  scikit-image
@@ -1,54 +0,0 @@
1
- """
2
- Copyright CNRS/Inria/UniCA
3
- Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
4
- SEE COPYRIGHT NOTICE BELOW
5
- """
6
-
7
- from babelplot.backend.helper.creation import PrintBackendDraft # noqa
8
- from babelplot.backend.helper.validation import CheckBackend # noqa
9
-
10
- """
11
- COPYRIGHT NOTICE
12
-
13
- This software is governed by the CeCILL license under French law and
14
- abiding by the rules of distribution of free software. You can use,
15
- modify and/ or redistribute the software under the terms of the CeCILL
16
- license as circulated by CEA, CNRS and INRIA at the following URL
17
- "http://www.cecill.info".
18
-
19
- As a counterpart to the access to the source code and rights to copy,
20
- modify and redistribute granted by the license, users are provided only
21
- with a limited warranty and the software's author, the holder of the
22
- economic rights, and the successive licensors have only limited
23
- liability.
24
-
25
- In this respect, the user's attention is drawn to the risks associated
26
- with loading, using, modifying and/or developing or reproducing the
27
- software by the user in light of its specific status of free software,
28
- that may mean that it is complicated to manipulate, and that also
29
- therefore means that it is reserved for developers and experienced
30
- professionals having in-depth computer knowledge. Users are therefore
31
- encouraged to load and test the software's suitability as regards their
32
- requirements in conditions enabling the security of their systems and/or
33
- data to be ensured and, more generally, to use and operate it in the
34
- same conditions as regards security.
35
-
36
- The fact that you are presently reading this means that you have had
37
- knowledge of the CeCILL license and that you accept its terms.
38
-
39
- SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
40
-
41
- This software is being developed by Eric Debreuve, a CNRS employee and
42
- member of team Morpheme.
43
- Team Morpheme is a joint team between Inria, CNRS, and UniCA.
44
- It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
45
- I3S, and Laboratory iBV.
46
-
47
- CNRS: https://www.cnrs.fr/index.php/en
48
- Inria: https://www.inria.fr/en/
49
- UniCA: https://univ-cotedazur.eu/
50
- Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
51
- I3S: https://www.i3s.unice.fr/en/
52
- iBV: http://ibv.unice.fr/
53
- Team Morpheme: https://team.inria.fr/morpheme/
54
- """
@@ -1,65 +0,0 @@
1
- """
2
- Copyright CNRS/Inria/UniCA
3
- Contributor(s): Eric Debreuve (eric.debreuve@cnrs.fr) since 2022
4
- SEE COPYRIGHT NOTICE BELOW
5
- """
6
-
7
- DEFAULT_BACKEND = "matplotlib"
8
-
9
- BACKEND_FROM_ALIAS = {
10
- "mpl": "matplotlib",
11
- "v3do": "vedo",
12
- }
13
-
14
- NEW_THREAD_ACCEPTED_BY = {
15
- "bokeh": True,
16
- "matplotlib": False,
17
- "plotly": True,
18
- "vedo": True,
19
- }
20
-
21
- """
22
- COPYRIGHT NOTICE
23
-
24
- This software is governed by the CeCILL license under French law and
25
- abiding by the rules of distribution of free software. You can use,
26
- modify and/ or redistribute the software under the terms of the CeCILL
27
- license as circulated by CEA, CNRS and INRIA at the following URL
28
- "http://www.cecill.info".
29
-
30
- As a counterpart to the access to the source code and rights to copy,
31
- modify and redistribute granted by the license, users are provided only
32
- with a limited warranty and the software's author, the holder of the
33
- economic rights, and the successive licensors have only limited
34
- liability.
35
-
36
- In this respect, the user's attention is drawn to the risks associated
37
- with loading, using, modifying and/or developing or reproducing the
38
- software by the user in light of its specific status of free software,
39
- that may mean that it is complicated to manipulate, and that also
40
- therefore means that it is reserved for developers and experienced
41
- professionals having in-depth computer knowledge. Users are therefore
42
- encouraged to load and test the software's suitability as regards their
43
- requirements in conditions enabling the security of their systems and/or
44
- data to be ensured and, more generally, to use and operate it in the
45
- same conditions as regards security.
46
-
47
- The fact that you are presently reading this means that you have had
48
- knowledge of the CeCILL license and that you accept its terms.
49
-
50
- SEE LICENCE NOTICE: file README-LICENCE-utf8.txt at project source root.
51
-
52
- This software is being developed by Eric Debreuve, a CNRS employee and
53
- member of team Morpheme.
54
- Team Morpheme is a joint team between Inria, CNRS, and UniCA.
55
- It is hosted by the Centre Inria d'Université Côte d'Azur, Laboratory
56
- I3S, and Laboratory iBV.
57
-
58
- CNRS: https://www.cnrs.fr/index.php/en
59
- Inria: https://www.inria.fr/en/
60
- UniCA: https://univ-cotedazur.eu/
61
- Centre Inria d'Université Côte d'Azur: https://www.inria.fr/en/centre/sophia/
62
- I3S: https://www.i3s.unice.fr/en/
63
- iBV: http://ibv.unice.fr/
64
- Team Morpheme: https://team.inria.fr/morpheme/
65
- """
File without changes
File without changes
File without changes
File without changes