kevin-toolbox-dev 1.4.3__py3-none-any.whl → 1.4.4__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.
- kevin_toolbox/__init__.py +2 -2
- kevin_toolbox/nested_dict_list/serializer/write.py +1 -1
- {kevin_toolbox_dev-1.4.3.dist-info → kevin_toolbox_dev-1.4.4.dist-info}/METADATA +3 -6
- {kevin_toolbox_dev-1.4.3.dist-info → kevin_toolbox_dev-1.4.4.dist-info}/RECORD +6 -6
- {kevin_toolbox_dev-1.4.3.dist-info → kevin_toolbox_dev-1.4.4.dist-info}/WHEEL +0 -0
- {kevin_toolbox_dev-1.4.3.dist-info → kevin_toolbox_dev-1.4.4.dist-info}/top_level.txt +0 -0
kevin_toolbox/__init__.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
__version__ = "1.4.
|
1
|
+
__version__ = "1.4.4"
|
2
2
|
|
3
3
|
|
4
4
|
import os
|
@@ -12,5 +12,5 @@ os.system(
|
|
12
12
|
os.system(
|
13
13
|
f'python {os.path.split(__file__)[0]}/env_info/check_validity_and_uninstall.py '
|
14
14
|
f'--package_name kevin-toolbox-dev '
|
15
|
-
f'--expiration_timestamp
|
15
|
+
f'--expiration_timestamp 1749817728 --verbose 0'
|
16
16
|
)
|
@@ -226,7 +226,7 @@ def write(var, output_dir, settings=None, traversal_mode=Traversal_Mode.BFS, b_p
|
|
226
226
|
except:
|
227
227
|
count += 1
|
228
228
|
time.sleep(0.5)
|
229
|
-
if not os.path.
|
229
|
+
if not os.path.exists(tgt_path):
|
230
230
|
for_os.copy(src=src_path, dst=tgt_path, remove_dst_if_exists=True)
|
231
231
|
|
232
232
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: kevin-toolbox-dev
|
3
|
-
Version: 1.4.
|
3
|
+
Version: 1.4.4
|
4
4
|
Summary: 一个常用的工具代码包集合
|
5
5
|
Home-page: https://github.com/cantbeblank96/kevin_toolbox
|
6
6
|
Download-URL: https://github.com/username/your-package/archive/refs/tags/v1.0.0.tar.gz
|
@@ -51,11 +51,8 @@ pip install kevin-toolbox --no-dependencies
|
|
51
51
|
|
52
52
|
[版本更新记录](./notes/Release_Record.md):
|
53
53
|
|
54
|
-
- v 1.4.
|
54
|
+
- v 1.4.4 (2024-12-15)【bug fix】
|
55
55
|
- nested_dict_list.serializer
|
56
|
-
-
|
57
|
-
- patches.for_numpy.random
|
58
|
-
- add get/set_rng_state(),用于获取/加载随机生成器的状态。
|
59
|
-
- 添加了对应的测试用例
|
56
|
+
- fix bug in write() line 229,将判断目标是否存在时使用的 os.path.isfile 改为 os.path.exists 以支持目标是文件夹的情况。
|
60
57
|
|
61
58
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
kevin_toolbox/__init__.py,sha256=
|
1
|
+
kevin_toolbox/__init__.py,sha256=xs_PW9P4AhMhyKcprj8m2mOBXfhKslv-B4OCvUYBmmw,410
|
2
2
|
kevin_toolbox/computer_science/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
3
3
|
kevin_toolbox/computer_science/algorithm/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
4
4
|
kevin_toolbox/computer_science/algorithm/cache_manager/__init__.py,sha256=p2hddkZ1HfYF9-m2Hx-o9IotwQHd4QwDCePy2ADpTDA,41
|
@@ -248,7 +248,7 @@ kevin_toolbox/nested_dict_list/serializer/enum_variable.py,sha256=RWPydtXI4adOJY
|
|
248
248
|
kevin_toolbox/nested_dict_list/serializer/read.py,sha256=BjsEWYoyvEHgRKKVKw0suf1ukug2tAFLMCAmEnndqgg,2945
|
249
249
|
kevin_toolbox/nested_dict_list/serializer/saved_node_name_builder.py,sha256=qsD-rmDmVaKZP4owN3Wm3QY2Ksi71XlYETqw4VmIsSU,1011
|
250
250
|
kevin_toolbox/nested_dict_list/serializer/variable.py,sha256=ZywG6obipRBCGY1cY42gdvsuWk8GLZXr6eCYcW7ZJ9c,392
|
251
|
-
kevin_toolbox/nested_dict_list/serializer/write.py,sha256=
|
251
|
+
kevin_toolbox/nested_dict_list/serializer/write.py,sha256=MCGdAMxZJuQc5OD_wD50zs2AKurtA5-d3l0fOi_ikHw,22169
|
252
252
|
kevin_toolbox/nested_dict_list/serializer/backends/__init__.py,sha256=8g7y-L3cmctxao616dVkGiot00FJzKNmNl_69V2bSmE,39
|
253
253
|
kevin_toolbox/nested_dict_list/serializer/backends/_json_.py,sha256=oJXIc28yjxsD9ZJuw120pVHTVsTzCdaXEhVUSQeydq4,2145
|
254
254
|
kevin_toolbox/nested_dict_list/serializer/backends/_ndl.py,sha256=3YkAq_Bqzehnw0kGxqxwtF6uUz0EV37tLI-1ROHjixY,1794
|
@@ -344,7 +344,7 @@ kevin_toolbox/patches/for_torch/math/get_y_at_x.py,sha256=bfoVcasZ_tMdhR_1Me0Jli
|
|
344
344
|
kevin_toolbox/patches/for_torch/math/my_around.py,sha256=ptpU3ids50gwf663EpHbw7raj9tNrDGBFZ5t_uMNH14,1378
|
345
345
|
kevin_toolbox/patches/for_torch/nn/__init__.py,sha256=aJs3RMqRzQmd8KKDmQW9FxwCqS5yfPqEdg-m0PwlQro,39
|
346
346
|
kevin_toolbox/patches/for_torch/nn/lambda_layer.py,sha256=KUuLiX_Dr4bvRmpAaCW5QTDWDcnMPRnw0jg4NNXTFhM,223
|
347
|
-
kevin_toolbox_dev-1.4.
|
348
|
-
kevin_toolbox_dev-1.4.
|
349
|
-
kevin_toolbox_dev-1.4.
|
350
|
-
kevin_toolbox_dev-1.4.
|
347
|
+
kevin_toolbox_dev-1.4.4.dist-info/METADATA,sha256=klDj2qFLTgPXKcBByDV1Wb5OJbJuj5H995C_3LbrlSk,1504
|
348
|
+
kevin_toolbox_dev-1.4.4.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
349
|
+
kevin_toolbox_dev-1.4.4.dist-info/top_level.txt,sha256=S5TeRGF-PwlhsaUEPTI-f2vWrpLmh3axpyI6v-Fi75o,14
|
350
|
+
kevin_toolbox_dev-1.4.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|