stouputils 1.2.25__tar.gz → 1.2.26__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 (27) hide show
  1. stouputils-1.2.26/PKG-INFO +101 -0
  2. stouputils-1.2.26/README.md +74 -0
  3. {stouputils-1.2.25 → stouputils-1.2.26}/pyproject.toml +2 -2
  4. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/applications/automatic_docs.py +19 -3
  5. stouputils-1.2.25/PKG-INFO +0 -78
  6. stouputils-1.2.25/README.md +0 -51
  7. {stouputils-1.2.25 → stouputils-1.2.26}/.gitignore +0 -0
  8. {stouputils-1.2.25 → stouputils-1.2.26}/LICENSE +0 -0
  9. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/__init__.py +0 -0
  10. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/all_doctests.py +0 -0
  11. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/applications/__init__.py +0 -0
  12. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/archive.py +0 -0
  13. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/backup.py +0 -0
  14. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/collections.py +0 -0
  15. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/continuous_delivery/__init__.py +0 -0
  16. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/continuous_delivery/cd_utils.py +0 -0
  17. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/continuous_delivery/github.py +0 -0
  18. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/continuous_delivery/pypi.py +0 -0
  19. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/continuous_delivery/pyproject.py +0 -0
  20. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/ctx.py +0 -0
  21. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/decorators.py +0 -0
  22. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/dont_look/zip_file_override.py +0 -0
  23. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/image.py +0 -0
  24. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/io.py +0 -0
  25. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/parallel.py +0 -0
  26. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/print.py +0 -0
  27. {stouputils-1.2.25 → stouputils-1.2.26}/stouputils/py.typed +0 -0
@@ -0,0 +1,101 @@
1
+ Metadata-Version: 2.4
2
+ Name: stouputils
3
+ Version: 1.2.26
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
+ Project-URL: Homepage, https://github.com/Stoupy51/stouputils
6
+ Project-URL: Issues, https://github.com/Stoupy51/stouputils/issues
7
+ Author-email: Stoupy51 <stoupy51@gmail.com>
8
+ License-File: LICENSE
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: Python :: 3
12
+ Requires-Python: >=3.10
13
+ Requires-Dist: furo>=2024.8.6
14
+ Requires-Dist: m2r2>=0.3.3.post2
15
+ Requires-Dist: myst-parser>=4.0.0
16
+ Requires-Dist: numpy
17
+ Requires-Dist: opencv-python>=4.0.0
18
+ Requires-Dist: pillow>=11.0.0
19
+ Requires-Dist: pydata-sphinx-theme>=0.11.0
20
+ Requires-Dist: pyyaml>=6.0.0
21
+ Requires-Dist: requests>=2.30.0
22
+ Requires-Dist: sphinx-rtd-theme>=3.0.0
23
+ Requires-Dist: sphinx>=8.0.0
24
+ Requires-Dist: toml>=0.10.0
25
+ Requires-Dist: tqdm>=4.0.0
26
+ Description-Content-Type: text/markdown
27
+
28
+ # 🛠️ Project Badges
29
+ [![GitHub](https://img.shields.io/github/v/release/Stoupy51/stouputils?logo=github&label=GitHub)](https://github.com/Stoupy51/stouputils/releases/latest)
30
+ [![PyPI - Downloads](https://img.shields.io/pypi/dm/stouputils?logo=python&label=PyPI%20downloads)](https://pypi.org/project/stouputils/)
31
+ [![Documentation](https://img.shields.io/github/v/release/Stoupy51/stouputils?logo=sphinx&label=Documentation&color=purple)](https://stoupy51.github.io/stouputils/latest/)
32
+
33
+ <br>
34
+
35
+ # 📚 Project Overview
36
+ Stouputils is a collection of utility modules designed to simplify and enhance the development process.<br>
37
+ It includes a range of tools for tasks such as execution of doctests, display utilities, decorators, as well as context managers.
38
+
39
+
40
+ # 🚀 Project File Tree
41
+
42
+ <style>
43
+ .code-tree {
44
+ border-radius: 6px;
45
+ padding: 16px;
46
+ font-family: monospace;
47
+ line-height: 1.45;
48
+ overflow: auto;
49
+ white-space: pre;
50
+ background-color:rgb(43, 43, 43);
51
+ color: #d4d4d4;
52
+ }
53
+ .code-tree a {
54
+ color: #569cd6;
55
+ text-decoration: none;
56
+ }
57
+ .code-tree a:hover {
58
+ text-decoration: underline;
59
+ }
60
+ .code-tree .comment {
61
+ color:rgb(231, 213, 48);
62
+ }
63
+ </style>
64
+
65
+ <pre class="code-tree">stouputils/
66
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.applications.html">applications/</a>
67
+ │ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.applications.automatic_docs.html">automatic_docs.py</a> <span class="comment"># 📚 Documentation generation utilities (used to create this documentation)</span>
68
+ │ └── ...
69
+
70
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.html">continuous_delivery/</a>
71
+ │ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.cd_utils.html">cd_utils.py</a> <span class="comment"># 🔧 Common utilities for continuous delivery</span>
72
+ │ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.github.html">github.py</a> <span class="comment"># 📦 GitHub utilities (upload_to_github)</span>
73
+ │ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.pypi.html">pypi.py</a> <span class="comment"># 📦 PyPI utilities (pypi_full_routine)</span>
74
+ │ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.pyproject.html">pyproject.py</a> <span class="comment"># 📝 Pyproject.toml utilities</span>
75
+ │ └── ...
76
+
77
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.all_doctests.html">all_doctests.py</a> <span class="comment"># ✅ Execution of all doctests for a given path</span>
78
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.archive.html">archive.py</a> <span class="comment"># 📦 Archive utilities (zip, repair_zip)</span>
79
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.backup.html">backup.py</a> <span class="comment"># 📦 Backup utilities (delta backup, consolidate)</span>
80
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.collections.html">collections.py</a> <span class="comment"># 🧰 Collection utilities (unique_list)</span>
81
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.ctx.html">ctx.py</a> <span class="comment"># 🚫 Context managers (Muffle, LogToFile)</span>
82
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.decorators.html">decorators.py</a> <span class="comment"># 🎯 Decorators (silent, measure_time, error_handler, simple_cache)</span>
83
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.image.html">image.py</a> <span class="comment"># 🖼️ Image utilities (image_resize)</span>
84
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.io.html">io.py</a> <span class="comment"># 💻 I/O utilities (file management, json)</span>
85
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.parallel.html">parallel.py</a> <span class="comment"># 🧑‍🤝‍🧑 Parallel processing (multiprocessing, multithreading)</span>
86
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.print.html">print.py</a> <span class="comment"># 🖨️ Display utilities (info, debug, warning, error)</span>
87
+ └── ...
88
+ </pre>
89
+
90
+ ## ⭐ Star History
91
+
92
+ <html>
93
+ <a href="https://star-history.com/#Stoupy51/stouputils&Date">
94
+ <picture>
95
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Stoupy51/stouputils&type=Date&theme=dark" />
96
+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Stoupy51/stouputils&type=Date" />
97
+ <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Stoupy51/stouputils&type=Date" />
98
+ </picture>
99
+ </a>
100
+ </html>
101
+
@@ -0,0 +1,74 @@
1
+ # 🛠️ Project Badges
2
+ [![GitHub](https://img.shields.io/github/v/release/Stoupy51/stouputils?logo=github&label=GitHub)](https://github.com/Stoupy51/stouputils/releases/latest)
3
+ [![PyPI - Downloads](https://img.shields.io/pypi/dm/stouputils?logo=python&label=PyPI%20downloads)](https://pypi.org/project/stouputils/)
4
+ [![Documentation](https://img.shields.io/github/v/release/Stoupy51/stouputils?logo=sphinx&label=Documentation&color=purple)](https://stoupy51.github.io/stouputils/latest/)
5
+
6
+ <br>
7
+
8
+ # 📚 Project Overview
9
+ Stouputils is a collection of utility modules designed to simplify and enhance the development process.<br>
10
+ It includes a range of tools for tasks such as execution of doctests, display utilities, decorators, as well as context managers.
11
+
12
+
13
+ # 🚀 Project File Tree
14
+
15
+ <style>
16
+ .code-tree {
17
+ border-radius: 6px;
18
+ padding: 16px;
19
+ font-family: monospace;
20
+ line-height: 1.45;
21
+ overflow: auto;
22
+ white-space: pre;
23
+ background-color:rgb(43, 43, 43);
24
+ color: #d4d4d4;
25
+ }
26
+ .code-tree a {
27
+ color: #569cd6;
28
+ text-decoration: none;
29
+ }
30
+ .code-tree a:hover {
31
+ text-decoration: underline;
32
+ }
33
+ .code-tree .comment {
34
+ color:rgb(231, 213, 48);
35
+ }
36
+ </style>
37
+
38
+ <pre class="code-tree">stouputils/
39
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.applications.html">applications/</a>
40
+ │ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.applications.automatic_docs.html">automatic_docs.py</a> <span class="comment"># 📚 Documentation generation utilities (used to create this documentation)</span>
41
+ │ └── ...
42
+
43
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.html">continuous_delivery/</a>
44
+ │ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.cd_utils.html">cd_utils.py</a> <span class="comment"># 🔧 Common utilities for continuous delivery</span>
45
+ │ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.github.html">github.py</a> <span class="comment"># 📦 GitHub utilities (upload_to_github)</span>
46
+ │ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.pypi.html">pypi.py</a> <span class="comment"># 📦 PyPI utilities (pypi_full_routine)</span>
47
+ │ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.pyproject.html">pyproject.py</a> <span class="comment"># 📝 Pyproject.toml utilities</span>
48
+ │ └── ...
49
+
50
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.all_doctests.html">all_doctests.py</a> <span class="comment"># ✅ Execution of all doctests for a given path</span>
51
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.archive.html">archive.py</a> <span class="comment"># 📦 Archive utilities (zip, repair_zip)</span>
52
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.backup.html">backup.py</a> <span class="comment"># 📦 Backup utilities (delta backup, consolidate)</span>
53
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.collections.html">collections.py</a> <span class="comment"># 🧰 Collection utilities (unique_list)</span>
54
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.ctx.html">ctx.py</a> <span class="comment"># 🚫 Context managers (Muffle, LogToFile)</span>
55
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.decorators.html">decorators.py</a> <span class="comment"># 🎯 Decorators (silent, measure_time, error_handler, simple_cache)</span>
56
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.image.html">image.py</a> <span class="comment"># 🖼️ Image utilities (image_resize)</span>
57
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.io.html">io.py</a> <span class="comment"># 💻 I/O utilities (file management, json)</span>
58
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.parallel.html">parallel.py</a> <span class="comment"># 🧑‍🤝‍🧑 Parallel processing (multiprocessing, multithreading)</span>
59
+ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.print.html">print.py</a> <span class="comment"># 🖨️ Display utilities (info, debug, warning, error)</span>
60
+ └── ...
61
+ </pre>
62
+
63
+ ## ⭐ Star History
64
+
65
+ <html>
66
+ <a href="https://star-history.com/#Stoupy51/stouputils&Date">
67
+ <picture>
68
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Stoupy51/stouputils&type=Date&theme=dark" />
69
+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Stoupy51/stouputils&type=Date" />
70
+ <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Stoupy51/stouputils&type=Date" />
71
+ </picture>
72
+ </a>
73
+ </html>
74
+
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
5
5
 
6
6
  [project]
7
7
  name = "stouputils"
8
- version = "1.2.25"
8
+ version = "1.2.26"
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"
@@ -21,7 +21,7 @@ dependencies = [
21
21
  "toml>=0.10.0",
22
22
  "m2r2>=0.3.3.post2",
23
23
  "sphinx>=8.0.0",
24
- "myst-parser>=4.0.0",
24
+ "myst_parser>=4.0.0",
25
25
  "sphinx_rtd_theme>=3.0.0",
26
26
  "pydata_sphinx_theme>=0.11.0",
27
27
  "furo>=2024.8.6",
@@ -52,7 +52,7 @@ Example of GitHub Actions workflow:
52
52
  - uses: actions/setup-python@v5
53
53
  - name: Install dependencies
54
54
  run: |
55
- pip install stouputils
55
+ pip install stouputils m2r2 sphinx myst_parser sphinx_rtd_theme pydata_sphinx_theme furo
56
56
  - name: Build version docs
57
57
  run: |
58
58
  python scripts/create_docs.py ${GITHUB_REF#refs/tags/v}
@@ -73,10 +73,24 @@ import sys
73
73
  from typing import Any, Callable
74
74
 
75
75
  from ..io import clean_path, super_open, super_json_dump
76
- from ..decorators import handle_error, simple_cache
76
+ from ..decorators import handle_error, simple_cache, LogLevels
77
77
  from ..continuous_delivery import version_to_float
78
78
  from ..print import info
79
79
 
80
+ # Constants
81
+ REQUIREMENTS: list[str] = ["m2r2", "sphinx", "myst_parser", "sphinx_rtd_theme", "pydata_sphinx_theme", "furo"]
82
+ """ List of requirements for automatic_docs to work. """
83
+
84
+ # Functions
85
+ def check_dependencies() -> None:
86
+ """ Check for each requirement if it is installed. """
87
+ import importlib
88
+ for requirement in REQUIREMENTS:
89
+ try:
90
+ importlib.import_module(requirement)
91
+ except ImportError:
92
+ requirements_str: str = " ".join(REQUIREMENTS)
93
+ raise ImportError(f"{requirement} is not installed. Please install it the following requirements to use automatic_docs: '{requirements_str}'")
80
94
 
81
95
  def get_sphinx_conf_content(
82
96
  project: str,
@@ -368,7 +382,7 @@ def generate_redirect_html(filepath: str) -> None:
368
382
  </html>
369
383
  """)
370
384
 
371
- @handle_error()
385
+ @handle_error(error_log=LogLevels.WARNING_TRACEBACK)
372
386
  def update_documentation(
373
387
  root_path: str,
374
388
  project: str,
@@ -411,6 +425,8 @@ def update_documentation(
411
425
  generate_redirect_function (Callable[[str], None]): Function to create redirect file
412
426
  get_conf_content_function (Callable[..., str]): Function to get Sphinx conf.py content
413
427
  """
428
+ check_dependencies()
429
+
414
430
  # Setup paths
415
431
  root_path = clean_path(root_path)
416
432
  docs_dir: str = f"{root_path}/docs"
@@ -1,78 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: stouputils
3
- Version: 1.2.25
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
- Project-URL: Homepage, https://github.com/Stoupy51/stouputils
6
- Project-URL: Issues, https://github.com/Stoupy51/stouputils/issues
7
- Author-email: Stoupy51 <stoupy51@gmail.com>
8
- License-File: LICENSE
9
- Classifier: License :: OSI Approved :: MIT License
10
- Classifier: Operating System :: OS Independent
11
- Classifier: Programming Language :: Python :: 3
12
- Requires-Python: >=3.10
13
- Requires-Dist: furo>=2024.8.6
14
- Requires-Dist: m2r2>=0.3.3.post2
15
- Requires-Dist: myst-parser>=4.0.0
16
- Requires-Dist: numpy
17
- Requires-Dist: opencv-python>=4.0.0
18
- Requires-Dist: pillow>=11.0.0
19
- Requires-Dist: pydata-sphinx-theme>=0.11.0
20
- Requires-Dist: pyyaml>=6.0.0
21
- Requires-Dist: requests>=2.30.0
22
- Requires-Dist: sphinx-rtd-theme>=3.0.0
23
- Requires-Dist: sphinx>=8.0.0
24
- Requires-Dist: toml>=0.10.0
25
- Requires-Dist: tqdm>=4.0.0
26
- Description-Content-Type: text/markdown
27
-
28
-
29
- # 🛠️ Project Badges
30
- [![GitHub](https://img.shields.io/github/v/release/Stoupy51/stouputils?logo=github&label=GitHub)](https://github.com/Stoupy51/stouputils/releases/latest)
31
- [![PyPI - Downloads](https://img.shields.io/pypi/dm/stouputils?logo=python&label=PyPI%20downloads)](https://pypi.org/project/stouputils/)
32
- [![Documentation](https://img.shields.io/github/v/release/Stoupy51/stouputils?logo=sphinx&label=Documentation&color=purple)](https://stoupy51.github.io/stouputils/latest/)
33
-
34
-
35
- # 📚 Project Overview
36
- Stouputils is a collection of utility modules designed to simplify and enhance the development process.<br>
37
- It includes a range of tools for tasks such as execution of doctests, display utilities, decorators, as well as context managers.
38
-
39
-
40
- # 🚀 Project File Tree
41
- ```bash
42
- stouputils/
43
- ├── applications/
44
- │ ├── automatic_docs.py # 📚 Documentation generation utilities (used to create this documentation)
45
- │ └── ...
46
-
47
- ├── continuous_delivery/
48
- │ ├── cd_utils.py # 🔧 Common utilities for continuous delivery
49
- │ ├── github.py # 📦 GitHub utilities (upload_to_github)
50
- │ ├── pypi.py # 📦 PyPI utilities (pypi_full_routine)
51
- │ ├── pyproject.py # 📝 Pyproject.toml utilities
52
- │ └── ...
53
-
54
- ├── print.py # 🖨️ Display utilities (info, debug, warning, error)
55
- ├── io.py # 💻 I/O utilities (file management, json)
56
- ├── decorators.py # 🎯 Decorators (silent, measure_time, error_handler, simple_cache)
57
- ├── ctx.py # 🚫 Context managers (Muffle, LogToFile)
58
- ├── archive.py # 📦 Archive utilities (zip, repair_zip)
59
- ├── parallel.py # 🧑‍🤝‍🧑 Parallel processing (multiprocessing, multithreading)
60
- ├── collections.py # 🧰 Collection utilities (unique_list)
61
- ├── all_doctests.py # ✅ Execution of all doctests for a given path
62
- ├── backup.py # 📦 Backup utilities (delta backup, consolidate)
63
- └── ...
64
- ```
65
-
66
-
67
- ## ⭐ Star History
68
-
69
- <html>
70
- <a href="https://star-history.com/#Stoupy51/stouputils&Date">
71
- <picture>
72
- <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Stoupy51/stouputils&type=Date&theme=dark" />
73
- <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Stoupy51/stouputils&type=Date" />
74
- <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Stoupy51/stouputils&type=Date" />
75
- </picture>
76
- </a>
77
- </html>
78
-
@@ -1,51 +0,0 @@
1
-
2
- # 🛠️ Project Badges
3
- [![GitHub](https://img.shields.io/github/v/release/Stoupy51/stouputils?logo=github&label=GitHub)](https://github.com/Stoupy51/stouputils/releases/latest)
4
- [![PyPI - Downloads](https://img.shields.io/pypi/dm/stouputils?logo=python&label=PyPI%20downloads)](https://pypi.org/project/stouputils/)
5
- [![Documentation](https://img.shields.io/github/v/release/Stoupy51/stouputils?logo=sphinx&label=Documentation&color=purple)](https://stoupy51.github.io/stouputils/latest/)
6
-
7
-
8
- # 📚 Project Overview
9
- Stouputils is a collection of utility modules designed to simplify and enhance the development process.<br>
10
- It includes a range of tools for tasks such as execution of doctests, display utilities, decorators, as well as context managers.
11
-
12
-
13
- # 🚀 Project File Tree
14
- ```bash
15
- stouputils/
16
- ├── applications/
17
- │ ├── automatic_docs.py # 📚 Documentation generation utilities (used to create this documentation)
18
- │ └── ...
19
-
20
- ├── continuous_delivery/
21
- │ ├── cd_utils.py # 🔧 Common utilities for continuous delivery
22
- │ ├── github.py # 📦 GitHub utilities (upload_to_github)
23
- │ ├── pypi.py # 📦 PyPI utilities (pypi_full_routine)
24
- │ ├── pyproject.py # 📝 Pyproject.toml utilities
25
- │ └── ...
26
-
27
- ├── print.py # 🖨️ Display utilities (info, debug, warning, error)
28
- ├── io.py # 💻 I/O utilities (file management, json)
29
- ├── decorators.py # 🎯 Decorators (silent, measure_time, error_handler, simple_cache)
30
- ├── ctx.py # 🚫 Context managers (Muffle, LogToFile)
31
- ├── archive.py # 📦 Archive utilities (zip, repair_zip)
32
- ├── parallel.py # 🧑‍🤝‍🧑 Parallel processing (multiprocessing, multithreading)
33
- ├── collections.py # 🧰 Collection utilities (unique_list)
34
- ├── all_doctests.py # ✅ Execution of all doctests for a given path
35
- ├── backup.py # 📦 Backup utilities (delta backup, consolidate)
36
- └── ...
37
- ```
38
-
39
-
40
- ## ⭐ Star History
41
-
42
- <html>
43
- <a href="https://star-history.com/#Stoupy51/stouputils&Date">
44
- <picture>
45
- <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Stoupy51/stouputils&type=Date&theme=dark" />
46
- <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Stoupy51/stouputils&type=Date" />
47
- <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Stoupy51/stouputils&type=Date" />
48
- </picture>
49
- </a>
50
- </html>
51
-
File without changes
File without changes