stouputils 1.16.2__py3-none-any.whl → 1.17.0__py3-none-any.whl
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/__init__.py +1 -0
- stouputils/__init__.pyi +1 -0
- stouputils/all_doctests.py +1 -1
- stouputils/collections.py +34 -1
- stouputils/collections.pyi +21 -1
- stouputils/decorators.py +1 -1
- stouputils/image.py +1 -1
- stouputils/image.pyi +1 -1
- stouputils/io.py +1 -1
- stouputils/io.pyi +1 -1
- stouputils/lock/__init__.py +36 -0
- stouputils/lock/__init__.pyi +5 -0
- stouputils/lock/base.py +536 -0
- stouputils/lock/base.pyi +169 -0
- stouputils/lock/queue.py +377 -0
- stouputils/lock/queue.pyi +131 -0
- stouputils/lock/re_entrant.py +115 -0
- stouputils/lock/re_entrant.pyi +81 -0
- stouputils/lock/redis_fifo.py +299 -0
- stouputils/lock/redis_fifo.pyi +123 -0
- stouputils/lock/shared.py +30 -0
- stouputils/lock/shared.pyi +16 -0
- {stouputils-1.16.2.dist-info → stouputils-1.17.0.dist-info}/METADATA +4 -2
- {stouputils-1.16.2.dist-info → stouputils-1.17.0.dist-info}/RECORD +26 -14
- {stouputils-1.16.2.dist-info → stouputils-1.17.0.dist-info}/WHEEL +0 -0
- {stouputils-1.16.2.dist-info → stouputils-1.17.0.dist-info}/entry_points.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: stouputils
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.17.0
|
|
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
|
Keywords: utilities,tools,helpers,development,python
|
|
6
6
|
Author: Stoupy51
|
|
@@ -32,12 +32,14 @@ Requires-Dist: sphinx-design ; extra == 'docs'
|
|
|
32
32
|
Requires-Dist: sphinx-treeview ; extra == 'docs'
|
|
33
33
|
Requires-Dist: sphinx-breeze-theme ; extra == 'docs'
|
|
34
34
|
Requires-Dist: pydata-sphinx-theme ; extra == 'docs'
|
|
35
|
+
Requires-Dist: redis[hiredis] ; extra == 'redis'
|
|
35
36
|
Requires-Python: >=3.12
|
|
36
37
|
Project-URL: Homepage, https://stoupy51.github.io/stouputils
|
|
37
38
|
Project-URL: Issues, https://github.com/Stoupy51/stouputils/issues
|
|
38
39
|
Project-URL: Source, https://github.com/Stoupy51/stouputils
|
|
39
40
|
Provides-Extra: data-science
|
|
40
41
|
Provides-Extra: docs
|
|
42
|
+
Provides-Extra: redis
|
|
41
43
|
Description-Content-Type: text/markdown
|
|
42
44
|
|
|
43
45
|
|
|
@@ -93,7 +95,7 @@ Start now by installing the package: `pip install stouputils`.<br>
|
|
|
93
95
|
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.io.html">io.py</a> <span class="comment"># 💾 Utilities for file management <span class="paren">(json_dump, json_load, csv_dump, csv_load, read_file, super_copy, super_open, clean_path, ...)</span></span>
|
|
94
96
|
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.parallel.html">parallel.py</a> <span class="comment"># 🔀 Utility functions for parallel processing <span class="paren">(multiprocessing, multithreading, run_in_subprocess)</span></span>
|
|
95
97
|
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.image.html">image.py</a> <span class="comment"># 🖼️ Little utilities for image processing <span class="paren">(image_resize, auto_crop, numpy_to_gif, numpy_to_obj)</span></span>
|
|
96
|
-
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.collections.html">collections.py</a> <span class="comment"># 🧰 Utilities for collection manipulation <span class="paren">(unique_list, sort_dict_keys, upsert_in_dataframe, array_to_disk)</span></span>
|
|
98
|
+
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.collections.html">collections.py</a> <span class="comment"># 🧰 Utilities for collection manipulation <span class="paren">(unique_list, at_least_n, sort_dict_keys, upsert_in_dataframe, array_to_disk)</span></span>
|
|
97
99
|
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.typing.html">typing.py</a> <span class="comment"># 📝 Utilities for typing enhancements <span class="paren">(IterAny, JsonDict, JsonList, ..., convert_to_serializable)</span></span>
|
|
98
100
|
├── <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 class="paren">(launch_tests, test_module_with_progress)</span></span>
|
|
99
101
|
├── <a href="https://stoupy51.github.io/stouputils/latest/modules/stouputils.backup.html">backup.py</a> <span class="comment"># 💾 Utilities for backup management <span class="paren">(delta backup, consolidate)</span></span>
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
stouputils/__init__.py,sha256=
|
|
2
|
-
stouputils/__init__.pyi,sha256=
|
|
1
|
+
stouputils/__init__.py,sha256=jsfgQp5-BuA78oXOPThRhlMHbG6WRb7BrgbOxuCrcIk,1017
|
|
2
|
+
stouputils/__init__.pyi,sha256=T8-ovn3Kl5CxYtBjJJ5AzR2qujECMI1Biwahz0nooBo,395
|
|
3
3
|
stouputils/__main__.py,sha256=MA3jjc1yL8_0Z9oB55BMqrFq1ot_-e5rNqSxFQGsMzs,2910
|
|
4
4
|
stouputils/_deprecated.py,sha256=Bcq6YjdM9Rk9Vq-WMhc_tuEbPORX6U8HAJ9Vh-VIWTA,1478
|
|
5
5
|
stouputils/_deprecated.pyi,sha256=6-8YsftJd2fRAdBLsysc6jf-uA8V2wiqkiFAbdfWfJQ,664
|
|
6
|
-
stouputils/all_doctests.py,sha256=
|
|
6
|
+
stouputils/all_doctests.py,sha256=alihPKBSdOBuNBQu7zoyYowN1PumZwuemUZOFvfGFrk,6313
|
|
7
7
|
stouputils/all_doctests.pyi,sha256=R3FRKaQv3sTZbxLvvsChHZZKygVMhmL6pqrYYLqvZCg,2017
|
|
8
8
|
stouputils/applications/__init__.py,sha256=dbjwZt8PZF043KoJSItqCpH32FtRxN5sgV-8Q2b1l10,457
|
|
9
9
|
stouputils/applications/__init__.pyi,sha256=DTYq2Uqq1uLzCMkFByjRqdtREA-9SaQnp4QpgmCEPFg,56
|
|
@@ -21,8 +21,8 @@ stouputils/archive.py,sha256=uDrPFxbY_C8SwUZRH4FWnYSoJKkFWynCx751zP9AHaY,12144
|
|
|
21
21
|
stouputils/archive.pyi,sha256=Z2BbQAiErRYntv53QC9uf_XPw3tx3Oy73wB0Bbil11c,3246
|
|
22
22
|
stouputils/backup.py,sha256=AE5WKMLiyk0VkRUfhmNfO2EUeUbZY5GTFVIuI5z7axA,20947
|
|
23
23
|
stouputils/backup.pyi,sha256=-SLVykkR5U8479T84zjNPVBNnV193s0zyWjathY2DDA,4923
|
|
24
|
-
stouputils/collections.py,sha256=
|
|
25
|
-
stouputils/collections.pyi,sha256=
|
|
24
|
+
stouputils/collections.py,sha256=rAIz4acCxGjZkuvUrb3u5laD130TaNKbng3AITMWffY,9851
|
|
25
|
+
stouputils/collections.pyi,sha256=g29fctQAjoJmx-CKh4S6buLSwH2SmivrTGYwc92KqxE,4323
|
|
26
26
|
stouputils/continuous_delivery/__init__.py,sha256=JqPww29xZ-pp6OJDGhUj2dxyV9rgTTMUz0YDDVr9RaA,731
|
|
27
27
|
stouputils/continuous_delivery/__init__.pyi,sha256=_Sz2D10n1CDEyY8qDFwXNKdr01HVxanY4qdq9aN19cc,117
|
|
28
28
|
stouputils/continuous_delivery/cd_utils.py,sha256=fkaHk2V3j66uFAUsM2c_UddNhXW2KAQcrh7jVsH79pU,8594
|
|
@@ -109,10 +109,10 @@ stouputils/data_science/scripts/exhaustive_process.py,sha256=Dc5gceIlIiP8U0m1qt3
|
|
|
109
109
|
stouputils/data_science/scripts/preprocess_dataset.py,sha256=OLC2KjEtSMeyHHPpNOATfNDuq0lZ09utKhsuzBA4MN4,2929
|
|
110
110
|
stouputils/data_science/scripts/routine.py,sha256=FkTLzmcdm_qUp69D-dPAKJm2RfXZZLtPgje6lEopu2I,7662
|
|
111
111
|
stouputils/data_science/utils.py,sha256=HFXI2RQZ53RbBOn_4Act2bi0z4xQlTtsuR5Am80v9JU,11084
|
|
112
|
-
stouputils/decorators.py,sha256=
|
|
112
|
+
stouputils/decorators.py,sha256=Emgr0XfUOh-MBqkznVOCNmwdHf7o3h1AyIoQklxgULw,21838
|
|
113
113
|
stouputils/decorators.pyi,sha256=vbPRsvox4dotqcln3StgE6iZ1cWCOeAn56M9zMpdw2U,10948
|
|
114
|
-
stouputils/image.py,sha256=
|
|
115
|
-
stouputils/image.pyi,sha256=
|
|
114
|
+
stouputils/image.py,sha256=CWTpnBys9bBYa7fsGPP6FseYn2Ak0TMwcFg2YnbQLpc,16630
|
|
115
|
+
stouputils/image.pyi,sha256=XeSfv23IJvEJUINNLw4hrdgVnrzP4rBcKv5jX_2c8jw,8466
|
|
116
116
|
stouputils/installer/__init__.py,sha256=DBwI9w3xvw0NR_jDMxmURwPi1F79kPLe7EuNjmrxW_U,502
|
|
117
117
|
stouputils/installer/__init__.pyi,sha256=ZB-8frAUOW-0pCEJL-e2AdbFodivv46v3EBYwEXCxRo,117
|
|
118
118
|
stouputils/installer/common.py,sha256=UJr5u02h4LQZQdkmVOkJ3vvW_0-ROGgVMMh0PNoVS1A,2209
|
|
@@ -125,8 +125,20 @@ stouputils/installer/main.py,sha256=8wrx_cnQo1dFGRf6x8vtxh6-96tQ-AzMyvJ0S64j0io,
|
|
|
125
125
|
stouputils/installer/main.pyi,sha256=r3j4GoMBpU06MpOqjSwoDTiSMOmbA3WWUA87970b6KE,3134
|
|
126
126
|
stouputils/installer/windows.py,sha256=r2AIuoyAmtMEuoCtQBH9GWQWI-JUT2J9zoH28j9ruOU,4880
|
|
127
127
|
stouputils/installer/windows.pyi,sha256=tHogIFhPVDQS0I10liLkAxnpaFFAvmFtEVMpPIae5LU,1616
|
|
128
|
-
stouputils/io.py,sha256=
|
|
129
|
-
stouputils/io.pyi,sha256=
|
|
128
|
+
stouputils/io.py,sha256=4GfHaZF-xeyR4K6bj9k9ohgXjOCb966a5XyQUPz_oZw,17187
|
|
129
|
+
stouputils/io.pyi,sha256=qKHshtvby6A2OMFLCF7KqIHmOyGkKONYBGENLM8H7Z8,9061
|
|
130
|
+
stouputils/lock/__init__.py,sha256=8EvKPwnd5oHAWP-2vs6ULUDCSNyUh-mw12nYvBqgVAc,1029
|
|
131
|
+
stouputils/lock/__init__.pyi,sha256=qcTm6JcGXfwQB2dUCa2wFEInSwJF2pOrYnejSpvGd7k,120
|
|
132
|
+
stouputils/lock/base.py,sha256=hjSXRzOLVTMNrxpf4QcmfCfdlSRHFT9e130Zz_cqxY8,20483
|
|
133
|
+
stouputils/lock/base.pyi,sha256=PYybPDg9l7guw3Jcae-UawZb_YZGup0p0EkUK53-9vc,8016
|
|
134
|
+
stouputils/lock/queue.py,sha256=4sKiEYcwQSzJjBIbGvu96sCJSMrBtIFPkW10SU-MuJo,13304
|
|
135
|
+
stouputils/lock/queue.pyi,sha256=djSdUZhyyphoU8y-lXDE2wNqI7fYfTy_rm5VPnmsZ7k,5065
|
|
136
|
+
stouputils/lock/re_entrant.py,sha256=3TTzZEtcGTJrgONGTeVJlJ-pQu0bwywYBIJ9rc42WAM,5010
|
|
137
|
+
stouputils/lock/re_entrant.pyi,sha256=e4JPZ8cMwMRJDG4NbK_l7Nm_7MeIciRvgJeD1cYJqeU,4052
|
|
138
|
+
stouputils/lock/redis_fifo.py,sha256=AA_McheTa9SHEgO141oUZmi2oYXR_IwzqC5dBWvvPZE,13172
|
|
139
|
+
stouputils/lock/redis_fifo.pyi,sha256=qFMClixGyYePXi0D4A48RW6FRRDm8Fyf9KCcoxXE5yc,6493
|
|
140
|
+
stouputils/lock/shared.py,sha256=G8Mcy7dXtNESyU7hSaeihNrCU4l98VhyQyO_vQYPJ7g,788
|
|
141
|
+
stouputils/lock/shared.pyi,sha256=0CV6TpTaDEkcGA35Q-ijp8ckImZ32umlMA4U-8C_O-I,545
|
|
130
142
|
stouputils/parallel.py,sha256=CJUhoB270QT6XXpg0fHOlJdwbvoFd6qFQhCAZDFZng4,21648
|
|
131
143
|
stouputils/parallel.pyi,sha256=BTAtl4TFr71LgV3nVBY-yjpxUxlt9m6O2q82tNFHlbE,12420
|
|
132
144
|
stouputils/print.py,sha256=q-qSkUGeyn-lBMU5GU36ccm_dTmWS2i_RMxMYUhncfY,24564
|
|
@@ -136,7 +148,7 @@ stouputils/typing.py,sha256=TwvxrvxhBRkyHkoOpfyXebN13M3xJb8MAjKXiNIWjew,2205
|
|
|
136
148
|
stouputils/typing.pyi,sha256=U2UmFZausMYpnsUQROQE2JOwHcjx2hKV0rJuOdR57Ew,1341
|
|
137
149
|
stouputils/version_pkg.py,sha256=Jsp-s03L14DkiZ94vQgrlQmaxApfn9DC8M_nzT1SJLk,7014
|
|
138
150
|
stouputils/version_pkg.pyi,sha256=QPvqp1U3QA-9C_CC1dT9Vahv1hXEhstbM7x5uzMZSsQ,755
|
|
139
|
-
stouputils-1.
|
|
140
|
-
stouputils-1.
|
|
141
|
-
stouputils-1.
|
|
142
|
-
stouputils-1.
|
|
151
|
+
stouputils-1.17.0.dist-info/WHEEL,sha256=XV0cjMrO7zXhVAIyyc8aFf1VjZ33Fen4IiJk5zFlC3g,80
|
|
152
|
+
stouputils-1.17.0.dist-info/entry_points.txt,sha256=tx0z9VOnE-sfkmbFbA93zaBMzV3XSsKEJa_BWIqUzxw,57
|
|
153
|
+
stouputils-1.17.0.dist-info/METADATA,sha256=l8yYMpNjDjypUTnO1zC1Xlp2s3QdqS_z8wqYYTMUu-4,13973
|
|
154
|
+
stouputils-1.17.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|