stouputils 1.4.4__tar.gz → 1.4.6__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 (107) hide show
  1. {stouputils-1.4.4 → stouputils-1.4.6}/PKG-INFO +1 -1
  2. {stouputils-1.4.4 → stouputils-1.4.6}/pyproject.toml +1 -1
  3. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/applications/automatic_docs.py +31 -8
  4. {stouputils-1.4.4 → stouputils-1.4.6}/.gitignore +0 -0
  5. {stouputils-1.4.4 → stouputils-1.4.6}/LICENSE +0 -0
  6. {stouputils-1.4.4 → stouputils-1.4.6}/README.md +0 -0
  7. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/__init__.py +0 -0
  8. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/__main__.py +0 -0
  9. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/all_doctests.py +0 -0
  10. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/applications/__init__.py +0 -0
  11. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/applications/upscaler/__init__.py +0 -0
  12. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/applications/upscaler/config.py +0 -0
  13. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/applications/upscaler/image.py +0 -0
  14. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/applications/upscaler/video.py +0 -0
  15. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/archive.py +0 -0
  16. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/backup.py +0 -0
  17. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/collections.py +0 -0
  18. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/continuous_delivery/__init__.py +0 -0
  19. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/continuous_delivery/cd_utils.py +0 -0
  20. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/continuous_delivery/github.py +0 -0
  21. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/continuous_delivery/pypi.py +0 -0
  22. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/continuous_delivery/pyproject.py +0 -0
  23. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/ctx.py +0 -0
  24. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/config/get.py +0 -0
  25. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/config/set.py +0 -0
  26. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/__init__.py +0 -0
  27. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/auto_contrast.py +0 -0
  28. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/axis_flip.py +0 -0
  29. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/bias_field_correction.py +0 -0
  30. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/binary_threshold.py +0 -0
  31. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/blur.py +0 -0
  32. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/brightness.py +0 -0
  33. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/canny.py +0 -0
  34. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/clahe.py +0 -0
  35. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/common.py +0 -0
  36. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/contrast.py +0 -0
  37. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/curvature_flow_filter.py +0 -0
  38. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/denoise.py +0 -0
  39. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/histogram_equalization.py +0 -0
  40. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/invert.py +0 -0
  41. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/laplacian.py +0 -0
  42. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/median_blur.py +0 -0
  43. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/noise.py +0 -0
  44. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/normalize.py +0 -0
  45. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/random_erase.py +0 -0
  46. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/resize.py +0 -0
  47. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/rotation.py +0 -0
  48. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/salt_pepper.py +0 -0
  49. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/sharpening.py +0 -0
  50. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/shearing.py +0 -0
  51. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/threshold.py +0 -0
  52. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/translation.py +0 -0
  53. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image/zoom.py +0 -0
  54. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image_augmentation.py +0 -0
  55. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/image_preprocess.py +0 -0
  56. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/prosthesis_detection.py +0 -0
  57. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/data_processing/technique.py +0 -0
  58. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/dataset/__init__.py +0 -0
  59. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/dataset/dataset.py +0 -0
  60. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/dataset/dataset_loader.py +0 -0
  61. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/dataset/grouping_strategy.py +0 -0
  62. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/dataset/image_loader.py +0 -0
  63. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/dataset/xy_tuple.py +0 -0
  64. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/metric_dictionnary.py +0 -0
  65. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/metric_utils.py +0 -0
  66. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/mlflow_utils.py +0 -0
  67. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/abstract_model.py +0 -0
  68. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/all.py +0 -0
  69. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/base_keras.py +0 -0
  70. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras/all.py +0 -0
  71. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras/convnext.py +0 -0
  72. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras/densenet.py +0 -0
  73. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras/efficientnet.py +0 -0
  74. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras/mobilenet.py +0 -0
  75. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras/resnet.py +0 -0
  76. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras/squeezenet.py +0 -0
  77. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras/vgg.py +0 -0
  78. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras/xception.py +0 -0
  79. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras_utils/callbacks/__init__.py +0 -0
  80. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras_utils/callbacks/colored_progress_bar.py +0 -0
  81. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras_utils/callbacks/learning_rate_finder.py +0 -0
  82. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras_utils/callbacks/model_checkpoint_v2.py +0 -0
  83. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras_utils/callbacks/progressive_unfreezing.py +0 -0
  84. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras_utils/callbacks/warmup_scheduler.py +0 -0
  85. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras_utils/losses/__init__.py +0 -0
  86. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras_utils/losses/next_generation_loss.py +0 -0
  87. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/keras_utils/visualizations.py +0 -0
  88. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/model_interface.py +0 -0
  89. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/models/sandbox.py +0 -0
  90. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/range_tuple.py +0 -0
  91. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/scripts/augment_dataset.py +0 -0
  92. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/scripts/exhaustive_process.py +0 -0
  93. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/scripts/preprocess_dataset.py +0 -0
  94. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/scripts/routine.py +0 -0
  95. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/data_science/utils.py +0 -0
  96. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/decorators.py +0 -0
  97. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/image.py +0 -0
  98. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/installer/__init__.py +0 -0
  99. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/installer/common.py +0 -0
  100. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/installer/downloader.py +0 -0
  101. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/installer/linux.py +0 -0
  102. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/installer/main.py +0 -0
  103. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/installer/windows.py +0 -0
  104. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/io.py +0 -0
  105. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/parallel.py +0 -0
  106. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/print.py +0 -0
  107. {stouputils-1.4.4 → stouputils-1.4.6}/stouputils/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stouputils
3
- Version: 1.4.4
3
+ Version: 1.4.6
4
4
  Summary: Stouputils is a collection of utility modules designed to simplify and enhance the development process. It includes a range of tools for tasks such as execution of doctests, display utilities, decorators, as well as context managers, and many more.
5
5
  Project-URL: Homepage, https://github.com/Stoupy51/stouputils
6
6
  Project-URL: Issues, https://github.com/Stoupy51/stouputils/issues
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
5
5
 
6
6
  [project]
7
7
  name = "stouputils"
8
- version = "1.4.4"
8
+ version = "1.4.6"
9
9
  description = "Stouputils is a collection of utility modules designed to simplify and enhance the development process. It includes a range of tools for tasks such as execution of doctests, display utilities, decorators, as well as context managers, and many more."
10
10
  readme = "README.md"
11
11
  requires-python = ">=3.10"
@@ -19,7 +19,7 @@ Example of usage:
19
19
  copyright="2025, Stoupy",
20
20
  html_logo="https://avatars.githubusercontent.com/u/35665974",
21
21
  html_favicon="https://avatars.githubusercontent.com/u/35665974",
22
- html_theme="sphinx_breeze_theme", # Available themes: sphinx_breeze_theme, furo, pydata_sphinx_theme, sphinx_rtd_theme, or other you installed
22
+ html_theme="breeze", # Available themes: breeze, furo, pydata_sphinx_theme, sphinx_rtd_theme, or other you installed
23
23
  github_user="Stoupy51",
24
24
  github_repo="stouputils",
25
25
  version="1.2.0",
@@ -87,7 +87,7 @@ def check_dependencies(html_theme: str) -> None:
87
87
  """ Check for each requirement if it is installed.
88
88
 
89
89
  Args:
90
- html_theme (str): HTML theme to use for the documentation, to check if it is installed (e.g. "sphinx_breeze_theme", "pydata_sphinx_theme", "furo", etc.)
90
+ html_theme (str): HTML theme to use for the documentation, to check if it is installed (e.g. "breeze", "pydata_sphinx_theme", "furo", etc.)
91
91
  """
92
92
  import importlib
93
93
  for requirement in REQUIREMENTS:
@@ -97,6 +97,8 @@ def check_dependencies(html_theme: str) -> None:
97
97
  requirements_str: str = " ".join(REQUIREMENTS)
98
98
  raise ImportError(f"{requirement} is not installed. Please install it the following requirements to use automatic_docs: '{requirements_str}'") from e
99
99
 
100
+ if html_theme == "breeze":
101
+ html_theme = "sphinx_breeze_theme"
100
102
  try:
101
103
  importlib.import_module(html_theme)
102
104
  except ImportError as e:
@@ -110,7 +112,7 @@ def get_sphinx_conf_content(
110
112
  copyright: str,
111
113
  html_logo: str,
112
114
  html_favicon: str,
113
- html_theme: str = "pydata_sphinx_theme",
115
+ html_theme: str = "breeze",
114
116
  github_user: str = "",
115
117
  github_repo: str = "",
116
118
  version_list: list[str] | None = None,
@@ -151,13 +153,34 @@ release: str = "{current_version}"
151
153
 
152
154
  # General configuration
153
155
  extensions: list[str] = [
156
+ # Sphinx's own extensions
157
+ "sphinx.ext.githubpages",
154
158
  "sphinx.ext.autodoc",
155
159
  "sphinx.ext.napoleon",
156
- "sphinx.ext.viewcode",
157
- "sphinx.ext.githubpages",
160
+ "sphinx.ext.extlinks",
158
161
  "sphinx.ext.intersphinx",
159
- "m2r2",
162
+ "sphinx.ext.mathjax",
163
+ "sphinx.ext.todo",
164
+ "sphinx.ext.viewcode",
165
+
166
+ # External stuff
167
+ "myst_parser",
168
+ "sphinx_copybutton",
169
+ "sphinx_design",
170
+ "sphinx_treeview",
171
+ ]
172
+
173
+ myst_enable_extensions = [
174
+ "colon_fence",
175
+ "deflist",
176
+ "fieldlist",
177
+ "substitution",
160
178
  ]
179
+ myst_heading_anchors = 3
180
+ todo_include_todos = True
181
+
182
+ copybutton_exclude = ".linenos, .gp"
183
+ copybutton_selector = ":not(.prompt) > div.highlight pre"
161
184
 
162
185
  templates_path: list[str] = ["_templates"]
163
186
  exclude_patterns: list[str] = []
@@ -401,7 +424,7 @@ def update_documentation(
401
424
  copyright: str = "2025, Author",
402
425
  html_logo: str = "",
403
426
  html_favicon: str = "",
404
- html_theme: str = "sphinx_breeze_theme",
427
+ html_theme: str = "breeze",
405
428
  github_user: str = "",
406
429
  github_repo: str = "",
407
430
  version: str | None = None,
@@ -423,7 +446,7 @@ def update_documentation(
423
446
  copyright (str): Copyright information
424
447
  html_logo (str): URL to the logo
425
448
  html_favicon (str): URL to the favicon
426
- html_theme (str): Theme to use for the documentation. Defaults to "sphinx_breeze_theme"
449
+ html_theme (str): Theme to use for the documentation. Defaults to "breeze"
427
450
  github_user (str): GitHub username
428
451
  github_repo (str): GitHub repository name
429
452
  version (str | None): Version to build documentation for (e.g. "1.0.0", defaults to "latest")
File without changes
File without changes
File without changes
File without changes
File without changes