stouputils 1.4.5__tar.gz → 1.9.0__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.
- {stouputils-1.4.5 → stouputils-1.9.0}/.gitignore +3 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/LICENSE +21 -21
- stouputils-1.4.5/README.md → stouputils-1.9.0/PKG-INFO +91 -21
- stouputils-1.4.5/PKG-INFO → stouputils-1.9.0/README.md +130 -127
- {stouputils-1.4.5 → stouputils-1.9.0}/pyproject.toml +23 -2
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/__init__.py +1 -2
- stouputils-1.9.0/stouputils/__init__.pyi +14 -0
- stouputils-1.9.0/stouputils/__main__.py +67 -0
- stouputils-1.9.0/stouputils/_deprecated.py +37 -0
- stouputils-1.9.0/stouputils/_deprecated.pyi +12 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/all_doctests.py +20 -8
- stouputils-1.9.0/stouputils/all_doctests.pyi +46 -0
- stouputils-1.9.0/stouputils/applications/__init__.pyi +2 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/applications/automatic_docs.py +584 -542
- stouputils-1.9.0/stouputils/applications/automatic_docs.pyi +106 -0
- stouputils-1.9.0/stouputils/applications/upscaler/__init__.pyi +3 -0
- stouputils-1.9.0/stouputils/applications/upscaler/config.pyi +18 -0
- stouputils-1.9.0/stouputils/applications/upscaler/image.pyi +109 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/applications/upscaler/video.py +2 -1
- stouputils-1.9.0/stouputils/applications/upscaler/video.pyi +60 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/archive.py +4 -4
- stouputils-1.9.0/stouputils/archive.pyi +67 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/backup.py +119 -5
- stouputils-1.9.0/stouputils/backup.pyi +109 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/collections.py +91 -7
- stouputils-1.9.0/stouputils/collections.pyi +85 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/continuous_delivery/__init__.py +27 -25
- stouputils-1.9.0/stouputils/continuous_delivery/__init__.pyi +5 -0
- stouputils-1.9.0/stouputils/continuous_delivery/cd_utils.py +236 -0
- stouputils-1.9.0/stouputils/continuous_delivery/cd_utils.pyi +128 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/continuous_delivery/github.py +21 -4
- stouputils-1.9.0/stouputils/continuous_delivery/github.pyi +162 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/continuous_delivery/pypi.py +90 -90
- stouputils-1.9.0/stouputils/continuous_delivery/pypi.pyi +43 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/continuous_delivery/pyproject.py +124 -124
- stouputils-1.9.0/stouputils/continuous_delivery/pyproject.pyi +47 -0
- stouputils-1.9.0/stouputils/continuous_delivery/stubs.py +83 -0
- stouputils-1.9.0/stouputils/continuous_delivery/stubs.pyi +39 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/ctx.py +286 -286
- stouputils-1.9.0/stouputils/ctx.pyi +143 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/config/set.py +125 -125
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/metric_utils.py +847 -847
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/base_keras.py +1 -1
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras_utils/callbacks/model_checkpoint_v2.py +31 -31
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/model_interface.py +939 -939
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/scripts/augment_dataset.py +77 -77
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/scripts/exhaustive_process.py +133 -133
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/scripts/preprocess_dataset.py +70 -70
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/scripts/routine.py +168 -168
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/decorators.py +104 -11
- stouputils-1.9.0/stouputils/decorators.pyi +208 -0
- stouputils-1.9.0/stouputils/image.py +426 -0
- stouputils-1.9.0/stouputils/image.pyi +163 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/installer/__init__.py +18 -18
- stouputils-1.9.0/stouputils/installer/__init__.pyi +5 -0
- stouputils-1.9.0/stouputils/installer/common.pyi +39 -0
- stouputils-1.9.0/stouputils/installer/downloader.pyi +24 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/installer/linux.py +144 -144
- stouputils-1.9.0/stouputils/installer/linux.pyi +39 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/installer/main.py +223 -223
- stouputils-1.9.0/stouputils/installer/main.pyi +57 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/installer/windows.py +136 -136
- stouputils-1.9.0/stouputils/installer/windows.pyi +31 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/io.py +220 -17
- stouputils-1.9.0/stouputils/io.pyi +208 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/parallel.py +17 -10
- stouputils-1.9.0/stouputils/parallel.pyi +144 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/print.py +76 -20
- stouputils-1.9.0/stouputils/print.pyi +146 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/py.typed +1 -1
- stouputils-1.4.5/stouputils/__main__.py +0 -35
- stouputils-1.4.5/stouputils/continuous_delivery/cd_utils.py +0 -141
- stouputils-1.4.5/stouputils/image.py +0 -95
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/applications/__init__.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/applications/upscaler/__init__.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/applications/upscaler/config.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/applications/upscaler/image.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/config/get.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/__init__.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/auto_contrast.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/axis_flip.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/bias_field_correction.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/binary_threshold.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/blur.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/brightness.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/canny.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/clahe.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/common.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/contrast.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/curvature_flow_filter.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/denoise.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/histogram_equalization.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/invert.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/laplacian.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/median_blur.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/noise.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/normalize.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/random_erase.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/resize.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/rotation.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/salt_pepper.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/sharpening.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/shearing.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/threshold.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/translation.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image/zoom.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image_augmentation.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/image_preprocess.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/prosthesis_detection.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/data_processing/technique.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/dataset/__init__.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/dataset/dataset.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/dataset/dataset_loader.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/dataset/grouping_strategy.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/dataset/image_loader.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/dataset/xy_tuple.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/metric_dictionnary.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/mlflow_utils.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/abstract_model.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/all.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras/all.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras/convnext.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras/densenet.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras/efficientnet.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras/mobilenet.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras/resnet.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras/squeezenet.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras/vgg.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras/xception.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras_utils/callbacks/__init__.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras_utils/callbacks/colored_progress_bar.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras_utils/callbacks/learning_rate_finder.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras_utils/callbacks/progressive_unfreezing.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras_utils/callbacks/warmup_scheduler.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras_utils/losses/__init__.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras_utils/losses/next_generation_loss.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/keras_utils/visualizations.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/models/sandbox.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/range_tuple.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/data_science/utils.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/installer/common.py +0 -0
- {stouputils-1.4.5 → stouputils-1.9.0}/stouputils/installer/downloader.py +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024 Alexandre Collignon
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Alexandre Collignon
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,3 +1,45 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: stouputils
|
|
3
|
+
Version: 1.9.0
|
|
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: argcomplete>=3.0.0
|
|
14
|
+
Requires-Dist: mypy>=1.18.2
|
|
15
|
+
Requires-Dist: numpy
|
|
16
|
+
Requires-Dist: opencv-python>=4.0.0
|
|
17
|
+
Requires-Dist: orjson>=3.0.0
|
|
18
|
+
Requires-Dist: pillow>=10.0.0
|
|
19
|
+
Requires-Dist: pyfastcopy>=1.0.0
|
|
20
|
+
Requires-Dist: python-box[all]>=7.0.0
|
|
21
|
+
Requires-Dist: pyyaml>=6.0.0
|
|
22
|
+
Requires-Dist: requests>=2.20.0
|
|
23
|
+
Requires-Dist: toml>=0.10.0
|
|
24
|
+
Requires-Dist: tqdm>=4.0.0
|
|
25
|
+
Requires-Dist: zarr>=2.18.3
|
|
26
|
+
Provides-Extra: data-science
|
|
27
|
+
Requires-Dist: mlflow; extra == 'data-science'
|
|
28
|
+
Requires-Dist: pywavelets; extra == 'data-science'
|
|
29
|
+
Requires-Dist: scikit-image; extra == 'data-science'
|
|
30
|
+
Requires-Dist: scikit-learn; extra == 'data-science'
|
|
31
|
+
Requires-Dist: simpleitk; extra == 'data-science'
|
|
32
|
+
Requires-Dist: tensorflow; extra == 'data-science'
|
|
33
|
+
Provides-Extra: docs
|
|
34
|
+
Requires-Dist: m2r2; extra == 'docs'
|
|
35
|
+
Requires-Dist: myst-parser; extra == 'docs'
|
|
36
|
+
Requires-Dist: pydata-sphinx-theme; extra == 'docs'
|
|
37
|
+
Requires-Dist: sphinx-breeze-theme; extra == 'docs'
|
|
38
|
+
Requires-Dist: sphinx-copybutton; extra == 'docs'
|
|
39
|
+
Requires-Dist: sphinx-design; extra == 'docs'
|
|
40
|
+
Requires-Dist: sphinx-treeview; extra == 'docs'
|
|
41
|
+
Description-Content-Type: text/markdown
|
|
42
|
+
|
|
1
43
|
# 🛠️ Project Badges
|
|
2
44
|
[](https://github.com/Stoupy51/stouputils/releases/latest)
|
|
3
45
|
[](https://pypi.org/project/stouputils/)
|
|
@@ -9,6 +51,33 @@
|
|
|
9
51
|
Stouputils is a collection of utility modules designed to simplify and enhance the development process.<br>
|
|
10
52
|
It includes a range of tools for tasks such as execution of doctests, display utilities, decorators, as well as context managers.
|
|
11
53
|
|
|
54
|
+
## 🔧 Installation
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
pip install stouputils
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### ✨ Enable Tab Completion on Linux (Optional)
|
|
61
|
+
|
|
62
|
+
For a better CLI experience, enable bash tab completion:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
# Option 1: Using argcomplete's global activation
|
|
66
|
+
activate-global-python-argcomplete --user
|
|
67
|
+
|
|
68
|
+
# Option 2: Manual setup for bash
|
|
69
|
+
register-python-argcomplete stouputils >> ~/.bashrc
|
|
70
|
+
source ~/.bashrc
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
After enabling completion, you can use `<TAB>` to autocomplete commands:
|
|
74
|
+
```bash
|
|
75
|
+
stouputils <TAB> # Shows: --version, -v, all_doctests, backup
|
|
76
|
+
stouputils all_<TAB> # Completes to: all_doctests
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**Note:** Tab completion works best in bash, zsh, Git Bash, or WSL on Windows.
|
|
80
|
+
|
|
12
81
|
|
|
13
82
|
# 🚀 Project File Tree
|
|
14
83
|
<html>
|
|
@@ -45,10 +114,11 @@ It includes a range of tools for tasks such as execution of doctests, display ut
|
|
|
45
114
|
│ └── ...
|
|
46
115
|
│
|
|
47
116
|
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.html">continuous_delivery/</a>
|
|
48
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.cd_utils.html">cd_utils.py</a> <span class="comment"># 🔧
|
|
49
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.github.html">github.py</a> <span class="comment"># 📦 GitHub
|
|
50
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.pypi.html">pypi.py</a> <span class="comment"># 📦 PyPI
|
|
51
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.pyproject.html">pyproject.py</a> <span class="comment"># 📝
|
|
117
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.cd_utils.html">cd_utils.py</a> <span class="comment"># 🔧 Utilities for continuous delivery</span>
|
|
118
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.github.html">github.py</a> <span class="comment"># 📦 Utilities for continuous delivery on GitHub (upload_to_github)</span>
|
|
119
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.pypi.html">pypi.py</a> <span class="comment"># 📦 Utilities for PyPI (pypi_full_routine)</span>
|
|
120
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.pyproject.html">pyproject.py</a> <span class="comment"># 📝 Utilities for reading, writing and managing pyproject.toml files</span>
|
|
121
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.stubs.html">stubs.py</a> <span class="comment"># 📝 Utilities for generating stub files using stubgen</span>
|
|
52
122
|
│ └── ...
|
|
53
123
|
│
|
|
54
124
|
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.html">data_science/</a>
|
|
@@ -62,28 +132,28 @@ It includes a range of tools for tasks such as execution of doctests, display ut
|
|
|
62
132
|
│ │ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.models.keras_utils.html">keras_utils/</a> <span class="comment"># 🛠️ Keras utilities (callbacks, losses, visualizations)</span>
|
|
63
133
|
│ │ └── ...
|
|
64
134
|
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.scripts.html">scripts/</a> <span class="comment"># 📜 Data science scripts (augment, preprocess, routine)</span>
|
|
65
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.metric_utils.html">metric_utils.py</a> <span class="comment"># 📏
|
|
66
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.mlflow_utils.html">mlflow_utils.py</a> <span class="comment"># 📊
|
|
135
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.metric_utils.html">metric_utils.py</a> <span class="comment"># 📏 Static methods for calculating various ML metrics</span>
|
|
136
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.mlflow_utils.html">mlflow_utils.py</a> <span class="comment"># 📊 Utility functions for working with MLflow</span>
|
|
67
137
|
│ └── ...
|
|
68
138
|
│
|
|
69
139
|
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.html">installer/</a>
|
|
70
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.common.html">common.py</a> <span class="comment"># 🔧 Common
|
|
71
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.downloader.html">downloader.py</a> <span class="comment"># ⬇️
|
|
72
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.linux.html">linux.py</a> <span class="comment"># 🐧 Linux
|
|
73
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.main.html">main.py</a> <span class="comment"># 🚀
|
|
74
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.windows.html">windows.py</a> <span class="comment"># 💻 Windows
|
|
140
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.common.html">common.py</a> <span class="comment"># 🔧 Common functions used by the Linux and Windows installers modules</span>
|
|
141
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.downloader.html">downloader.py</a> <span class="comment"># ⬇️ Functions for downloading and installing programs from URLs</span>
|
|
142
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.linux.html">linux.py</a> <span class="comment"># 🐧 Linux/macOS specific implementations for installation</span>
|
|
143
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.main.html">main.py</a> <span class="comment"># 🚀 Core installation functions for installing programs from zip files or URLs</span>
|
|
144
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.windows.html">windows.py</a> <span class="comment"># 💻 Windows specific implementations for installation</span>
|
|
75
145
|
│ └── ...
|
|
76
146
|
│
|
|
77
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.all_doctests.html">all_doctests.py</a> <span class="comment"># ✅
|
|
78
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.archive.html">archive.py</a> <span class="comment"># 📦
|
|
79
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.backup.html">backup.py</a> <span class="comment">#
|
|
80
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.collections.html">collections.py</a> <span class="comment"># 🧰
|
|
81
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.ctx.html">ctx.py</a> <span class="comment">#
|
|
82
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.decorators.html">decorators.py</a> <span class="comment"># 🎯 Decorators (
|
|
83
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.image.html">image.py</a> <span class="comment"># 🖼️
|
|
84
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.io.html">io.py</a> <span class="comment">#
|
|
85
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.parallel.html">parallel.py</a> <span class="comment">#
|
|
86
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.print.html">print.py</a> <span class="comment"># 🖨️
|
|
147
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.all_doctests.html">all_doctests.py</a> <span class="comment"># ✅ Run all doctests for all modules in a given directory</span>
|
|
148
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.archive.html">archive.py</a> <span class="comment"># 📦 Functions for creating and managing archives</span>
|
|
149
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.backup.html">backup.py</a> <span class="comment"># 💾 Utilities for backup management (delta backup, consolidate)</span>
|
|
150
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.collections.html">collections.py</a> <span class="comment"># 🧰 Utilities for collection manipulation (unique_list, sort_dict_keys, upsert_in_dataframe, array_to_disk)</span>
|
|
151
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.ctx.html">ctx.py</a> <span class="comment"># 🔇 Context managers (Muffle, LogToFile, MeasureTime, DoNothing)</span>
|
|
152
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.decorators.html">decorators.py</a> <span class="comment"># 🎯 Decorators (measure_time, handle_error, simple_cache, retry, abstract, deprecated, silent)</span>
|
|
153
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.image.html">image.py</a> <span class="comment"># 🖼️ Little utilities for image processing (image_resize, auto_crop, numpy_to_gif, numpy_to_obj)</span>
|
|
154
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.io.html">io.py</a> <span class="comment"># 💾 Utilities for file management (super_json, super_csv, super_copy, super_open, clean_path)</span>
|
|
155
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.parallel.html">parallel.py</a> <span class="comment"># 🔀 Utility functions for parallel processing (multiprocessing, multithreading)</span>
|
|
156
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.print.html">print.py</a> <span class="comment"># 🖨️ Utility functions for printing messages with different levels of importance</span>
|
|
87
157
|
└── ...
|
|
88
158
|
</pre>
|
|
89
159
|
</html>
|
|
@@ -1,127 +1,130 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
#
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
#
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<
|
|
42
|
-
<style>
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
│
|
|
71
|
-
│
|
|
72
|
-
|
|
73
|
-
│
|
|
74
|
-
|
|
75
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.
|
|
76
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.
|
|
77
|
-
│
|
|
78
|
-
│
|
|
79
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.
|
|
80
|
-
│
|
|
81
|
-
│
|
|
82
|
-
|
|
83
|
-
│
|
|
84
|
-
│
|
|
85
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.
|
|
86
|
-
│ │ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.
|
|
87
|
-
│ │
|
|
88
|
-
│
|
|
89
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.
|
|
90
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.
|
|
91
|
-
│
|
|
92
|
-
│
|
|
93
|
-
│
|
|
94
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.
|
|
95
|
-
│
|
|
96
|
-
│
|
|
97
|
-
|
|
98
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.
|
|
99
|
-
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.
|
|
100
|
-
│
|
|
101
|
-
│
|
|
102
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.
|
|
106
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.
|
|
107
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.
|
|
108
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.
|
|
109
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.
|
|
110
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.
|
|
111
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.
|
|
112
|
-
|
|
113
|
-
</
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
1
|
+
# 🛠️ Project Badges
|
|
2
|
+
[](https://github.com/Stoupy51/stouputils/releases/latest)
|
|
3
|
+
[](https://pypi.org/project/stouputils/)
|
|
4
|
+
[](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
|
+
## 🔧 Installation
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
pip install stouputils
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
### ✨ Enable Tab Completion on Linux (Optional)
|
|
19
|
+
|
|
20
|
+
For a better CLI experience, enable bash tab completion:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Option 1: Using argcomplete's global activation
|
|
24
|
+
activate-global-python-argcomplete --user
|
|
25
|
+
|
|
26
|
+
# Option 2: Manual setup for bash
|
|
27
|
+
register-python-argcomplete stouputils >> ~/.bashrc
|
|
28
|
+
source ~/.bashrc
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
After enabling completion, you can use `<TAB>` to autocomplete commands:
|
|
32
|
+
```bash
|
|
33
|
+
stouputils <TAB> # Shows: --version, -v, all_doctests, backup
|
|
34
|
+
stouputils all_<TAB> # Completes to: all_doctests
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
**Note:** Tab completion works best in bash, zsh, Git Bash, or WSL on Windows.
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# 🚀 Project File Tree
|
|
41
|
+
<html>
|
|
42
|
+
<details style="display: none;">
|
|
43
|
+
<summary></summary>
|
|
44
|
+
<style>
|
|
45
|
+
.code-tree {
|
|
46
|
+
border-radius: 6px;
|
|
47
|
+
padding: 16px;
|
|
48
|
+
font-family: monospace;
|
|
49
|
+
line-height: 1.45;
|
|
50
|
+
overflow: auto;
|
|
51
|
+
white-space: pre;
|
|
52
|
+
background-color:rgb(43, 43, 43);
|
|
53
|
+
color: #d4d4d4;
|
|
54
|
+
}
|
|
55
|
+
.code-tree a {
|
|
56
|
+
color: #569cd6;
|
|
57
|
+
text-decoration: none;
|
|
58
|
+
}
|
|
59
|
+
.code-tree a:hover {
|
|
60
|
+
text-decoration: underline;
|
|
61
|
+
}
|
|
62
|
+
.code-tree .comment {
|
|
63
|
+
color:rgb(231, 213, 48);
|
|
64
|
+
}
|
|
65
|
+
</style>
|
|
66
|
+
</details>
|
|
67
|
+
|
|
68
|
+
<pre class="code-tree">stouputils/
|
|
69
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.applications.html">applications/</a>
|
|
70
|
+
│ ├── <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>
|
|
71
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.applications.upscaler.html">upscaler/</a> <span class="comment"># 🔎 Image & Video upscaler (configurable)</span>
|
|
72
|
+
│ └── ...
|
|
73
|
+
│
|
|
74
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.html">continuous_delivery/</a>
|
|
75
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.cd_utils.html">cd_utils.py</a> <span class="comment"># 🔧 Utilities for continuous delivery</span>
|
|
76
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.github.html">github.py</a> <span class="comment"># 📦 Utilities for continuous delivery on GitHub (upload_to_github)</span>
|
|
77
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.pypi.html">pypi.py</a> <span class="comment"># 📦 Utilities for PyPI (pypi_full_routine)</span>
|
|
78
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.pyproject.html">pyproject.py</a> <span class="comment"># 📝 Utilities for reading, writing and managing pyproject.toml files</span>
|
|
79
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.continuous_delivery.stubs.html">stubs.py</a> <span class="comment"># 📝 Utilities for generating stub files using stubgen</span>
|
|
80
|
+
│ └── ...
|
|
81
|
+
│
|
|
82
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.html">data_science/</a>
|
|
83
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.config.html">config/</a> <span class="comment"># ⚙️ Configuration utilities for data science</span>
|
|
84
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.dataset.html">dataset/</a> <span class="comment"># 📊 Dataset handling (dataset, dataset_loader, grouping_strategy)</span>
|
|
85
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.data_processing.html">data_processing/</a> <span class="comment"># 🔄 Data processing utilities (image augmentation, preprocessing)</span>
|
|
86
|
+
│ │ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.data_processing.image.html">image/</a> <span class="comment"># 🖼️ Image processing techniques</span>
|
|
87
|
+
│ │ └── ...
|
|
88
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.models.html">models/</a> <span class="comment"># 🧠 ML/DL model interfaces and implementations</span>
|
|
89
|
+
│ │ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.models.keras.html">keras/</a> <span class="comment"># 🤖 Keras model implementations</span>
|
|
90
|
+
│ │ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.models.keras_utils.html">keras_utils/</a> <span class="comment"># 🛠️ Keras utilities (callbacks, losses, visualizations)</span>
|
|
91
|
+
│ │ └── ...
|
|
92
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.scripts.html">scripts/</a> <span class="comment"># 📜 Data science scripts (augment, preprocess, routine)</span>
|
|
93
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.metric_utils.html">metric_utils.py</a> <span class="comment"># 📏 Static methods for calculating various ML metrics</span>
|
|
94
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.data_science.mlflow_utils.html">mlflow_utils.py</a> <span class="comment"># 📊 Utility functions for working with MLflow</span>
|
|
95
|
+
│ └── ...
|
|
96
|
+
│
|
|
97
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.html">installer/</a>
|
|
98
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.common.html">common.py</a> <span class="comment"># 🔧 Common functions used by the Linux and Windows installers modules</span>
|
|
99
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.downloader.html">downloader.py</a> <span class="comment"># ⬇️ Functions for downloading and installing programs from URLs</span>
|
|
100
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.linux.html">linux.py</a> <span class="comment"># 🐧 Linux/macOS specific implementations for installation</span>
|
|
101
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.main.html">main.py</a> <span class="comment"># 🚀 Core installation functions for installing programs from zip files or URLs</span>
|
|
102
|
+
│ ├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.installer.windows.html">windows.py</a> <span class="comment"># 💻 Windows specific implementations for installation</span>
|
|
103
|
+
│ └── ...
|
|
104
|
+
│
|
|
105
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.all_doctests.html">all_doctests.py</a> <span class="comment"># ✅ Run all doctests for all modules in a given directory</span>
|
|
106
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.archive.html">archive.py</a> <span class="comment"># 📦 Functions for creating and managing archives</span>
|
|
107
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.backup.html">backup.py</a> <span class="comment"># 💾 Utilities for backup management (delta backup, consolidate)</span>
|
|
108
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.collections.html">collections.py</a> <span class="comment"># 🧰 Utilities for collection manipulation (unique_list, sort_dict_keys, upsert_in_dataframe, array_to_disk)</span>
|
|
109
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.ctx.html">ctx.py</a> <span class="comment"># 🔇 Context managers (Muffle, LogToFile, MeasureTime, DoNothing)</span>
|
|
110
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.decorators.html">decorators.py</a> <span class="comment"># 🎯 Decorators (measure_time, handle_error, simple_cache, retry, abstract, deprecated, silent)</span>
|
|
111
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.image.html">image.py</a> <span class="comment"># 🖼️ Little utilities for image processing (image_resize, auto_crop, numpy_to_gif, numpy_to_obj)</span>
|
|
112
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.io.html">io.py</a> <span class="comment"># 💾 Utilities for file management (super_json, super_csv, super_copy, super_open, clean_path)</span>
|
|
113
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.parallel.html">parallel.py</a> <span class="comment"># 🔀 Utility functions for parallel processing (multiprocessing, multithreading)</span>
|
|
114
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.print.html">print.py</a> <span class="comment"># 🖨️ Utility functions for printing messages with different levels of importance</span>
|
|
115
|
+
└── ...
|
|
116
|
+
</pre>
|
|
117
|
+
</html>
|
|
118
|
+
|
|
119
|
+
## ⭐ Star History
|
|
120
|
+
|
|
121
|
+
<html>
|
|
122
|
+
<a href="https://star-history.com/#Stoupy51/stouputils&Date">
|
|
123
|
+
<picture>
|
|
124
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Stoupy51/stouputils&type=Date&theme=dark" />
|
|
125
|
+
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Stoupy51/stouputils&type=Date" />
|
|
126
|
+
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Stoupy51/stouputils&type=Date" />
|
|
127
|
+
</picture>
|
|
128
|
+
</a>
|
|
129
|
+
</html>
|
|
130
|
+
|
|
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
|
|
|
5
5
|
|
|
6
6
|
[project]
|
|
7
7
|
name = "stouputils"
|
|
8
|
-
version = "1.
|
|
8
|
+
version = "1.9.0"
|
|
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"
|
|
@@ -14,11 +14,30 @@ classifiers = [
|
|
|
14
14
|
"License :: OSI Approved :: MIT License",
|
|
15
15
|
"Operating System :: OS Independent",
|
|
16
16
|
]
|
|
17
|
-
dependencies = [ "tqdm>=4.0.0", "requests>=2.20.0", "pyyaml>=6.0.0", "toml>=0.10.0", "pillow>=10.0.0", "numpy", "opencv-python>=4.0.0", "orjson>=3.0.0", "pyfastcopy>=1.0.0", "python-box[all]>=7.0.0", "zarr>=2.18.3",]
|
|
17
|
+
dependencies = [ "tqdm>=4.0.0", "requests>=2.20.0", "pyyaml>=6.0.0", "toml>=0.10.0", "pillow>=10.0.0", "numpy", "opencv-python>=4.0.0", "orjson>=3.0.0", "pyfastcopy>=1.0.0", "python-box[all]>=7.0.0", "zarr>=2.18.3", "mypy>=1.18.2", "argcomplete>=3.0.0",]
|
|
18
18
|
[[project.authors]]
|
|
19
19
|
name = "Stoupy51"
|
|
20
20
|
email = "stoupy51@gmail.com"
|
|
21
21
|
|
|
22
|
+
[project.optional-dependencies]
|
|
23
|
+
docs = [
|
|
24
|
+
"m2r2",
|
|
25
|
+
"myst_parser",
|
|
26
|
+
"sphinx_copybutton",
|
|
27
|
+
"sphinx_design",
|
|
28
|
+
"sphinx_treeview",
|
|
29
|
+
"sphinx_breeze_theme",
|
|
30
|
+
"pydata_sphinx_theme",
|
|
31
|
+
]
|
|
32
|
+
data_science = [
|
|
33
|
+
"scikit-image",
|
|
34
|
+
"simpleitk",
|
|
35
|
+
"mlflow",
|
|
36
|
+
"tensorflow",
|
|
37
|
+
"scikit-learn",
|
|
38
|
+
"PyWavelets",
|
|
39
|
+
]
|
|
40
|
+
|
|
22
41
|
[project.urls]
|
|
23
42
|
Homepage = "https://github.com/Stoupy51/stouputils"
|
|
24
43
|
Issues = "https://github.com/Stoupy51/stouputils/issues"
|
|
@@ -38,6 +57,7 @@ exclude = [
|
|
|
38
57
|
".cursor",
|
|
39
58
|
"build",
|
|
40
59
|
"dist",
|
|
60
|
+
"*.pyi",
|
|
41
61
|
]
|
|
42
62
|
line-length = 200
|
|
43
63
|
|
|
@@ -65,4 +85,5 @@ ignore = [
|
|
|
65
85
|
|
|
66
86
|
[tool.hatch.build]
|
|
67
87
|
include = ["stouputils"]
|
|
88
|
+
ignore-vcs = true
|
|
68
89
|
|
|
@@ -20,12 +20,11 @@ Key Features:
|
|
|
20
20
|
from importlib.metadata import PackageNotFoundError, version
|
|
21
21
|
|
|
22
22
|
# Imports
|
|
23
|
+
from ._deprecated import *
|
|
23
24
|
from .all_doctests import *
|
|
24
25
|
from .archive import *
|
|
25
26
|
from .backup import *
|
|
26
27
|
from .collections import *
|
|
27
|
-
|
|
28
|
-
# Folders
|
|
29
28
|
from .continuous_delivery import *
|
|
30
29
|
from .ctx import *
|
|
31
30
|
from .decorators import *
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
from ._deprecated import *
|
|
2
|
+
from .all_doctests import *
|
|
3
|
+
from .archive import *
|
|
4
|
+
from .backup import *
|
|
5
|
+
from .collections import *
|
|
6
|
+
from .continuous_delivery import *
|
|
7
|
+
from .ctx import *
|
|
8
|
+
from .decorators import *
|
|
9
|
+
from .image import *
|
|
10
|
+
from .io import *
|
|
11
|
+
from .parallel import *
|
|
12
|
+
from .print import *
|
|
13
|
+
|
|
14
|
+
__version__: str
|