kevin-toolbox-dev 1.3.8__py3-none-any.whl → 1.3.9__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 CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "1.3.8"
1
+ __version__ = "1.3.9"
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 1739089473 --verbose 0'
15
+ f'--expiration_timestamp 1739091416 --verbose 0'
16
16
  )
@@ -321,7 +321,9 @@ class Registry:
321
321
  f'such as {{"func": lambda _, __, path: path == "{path}", "scope": ["files",]}}'
322
322
  )
323
323
  # 加载模块
324
- module = loader.find_module(module_name).load_module(module_name)
324
+ # module = loader.find_module(module_name).load_module(module_name)
325
+ module = module_spec.loader.load_module(module_name)
326
+
325
327
  # 选择遍历过程中第一次找到的 Registry 实例
326
328
  if temp is None:
327
329
  for name, obj in inspect.getmembers(module):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kevin-toolbox-dev
3
- Version: 1.3.8
3
+ Version: 1.3.9
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,7 +51,7 @@ pip install kevin-toolbox --no-dependencies
51
51
 
52
52
  [版本更新记录](./notes/Release_Record.md):
53
53
 
54
- - v 1.3.8 (2024-08-13)【bug fix】【temporary version】
54
+ - v 1.3.9 (2024-08-13)【bug fix】【temporary version】
55
55
  - computer_science.algorithm.registration
56
56
  - modify Registry.collect_from_paths() for python>=3.12,在更高版本的python的importlib中 find_module() 方法已被废弃和移除,因此需要替换为 find_spec() 方法。
57
57
 
@@ -1,4 +1,4 @@
1
- kevin_toolbox/__init__.py,sha256=JvwRDuUZBeSChmbw5mWQZfrgV96Q990PrPXKOsPg9nk,410
1
+ kevin_toolbox/__init__.py,sha256=mqgXT0DiSzNPKGVSNm76FMSgAzUhwSTG1Dl4i66a8xQ,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
@@ -42,7 +42,7 @@ kevin_toolbox/computer_science/algorithm/pareto_front/__init__.py,sha256=F1uD0ZT
42
42
  kevin_toolbox/computer_science/algorithm/pareto_front/get_pareto_points_idx.py,sha256=WR-_9BruqAWH0QECa40b1Iz1_k6uesBrUYrn2s9ALBM,3008
43
43
  kevin_toolbox/computer_science/algorithm/pareto_front/optimum_picker.py,sha256=wnYN2s9r2g1z5wF0FvFLawRYITUJbMXbBs4TPsdvhlE,9923
44
44
  kevin_toolbox/computer_science/algorithm/registration/__init__.py,sha256=teEd9HkrB6baLpwNwae5c4wn0QRwV3KtBv-2V9-Z7cc,49
45
- kevin_toolbox/computer_science/algorithm/registration/registry.py,sha256=YNYKSPV2AIUVTup-YheJcT1Pu21llgDtyCWxpsSCaZo,17666
45
+ kevin_toolbox/computer_science/algorithm/registration/registry.py,sha256=X1I04ZO2lTE36TjvJ1tcepl7xXD0OJWCA82RDsoENvA,17734
46
46
  kevin_toolbox/computer_science/algorithm/scheduler/__init__.py,sha256=ENzZsNaMu6ISilTxeE3_EP_L0dNi8SI7IYdTdxic2nw,76
47
47
  kevin_toolbox/computer_science/algorithm/scheduler/strategy_manager.py,sha256=yLh2GBEsedJhqvB90zEmAOdZ8IF7nn1r9lSE95BbnEQ,12194
48
48
  kevin_toolbox/computer_science/algorithm/scheduler/trigger.py,sha256=YlqTX2TE44BwcQI0jfvcBCJhouhdAYuhwu2QJhuBWP0,4470
@@ -328,7 +328,7 @@ kevin_toolbox/patches/for_torch/math/get_y_at_x.py,sha256=bfoVcasZ_tMdhR_1Me0Jli
328
328
  kevin_toolbox/patches/for_torch/math/my_around.py,sha256=ptpU3ids50gwf663EpHbw7raj9tNrDGBFZ5t_uMNH14,1378
329
329
  kevin_toolbox/patches/for_torch/nn/__init__.py,sha256=aJs3RMqRzQmd8KKDmQW9FxwCqS5yfPqEdg-m0PwlQro,39
330
330
  kevin_toolbox/patches/for_torch/nn/lambda_layer.py,sha256=KUuLiX_Dr4bvRmpAaCW5QTDWDcnMPRnw0jg4NNXTFhM,223
331
- kevin_toolbox_dev-1.3.8.dist-info/METADATA,sha256=_-T8ozrnXN_PHq8oDPy6Eo4PFojwebPLCnGUsaBsFtI,1576
332
- kevin_toolbox_dev-1.3.8.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
333
- kevin_toolbox_dev-1.3.8.dist-info/top_level.txt,sha256=S5TeRGF-PwlhsaUEPTI-f2vWrpLmh3axpyI6v-Fi75o,14
334
- kevin_toolbox_dev-1.3.8.dist-info/RECORD,,
331
+ kevin_toolbox_dev-1.3.9.dist-info/METADATA,sha256=_JXWhGRD_pNuYvb7F6aGl_hpSL9JtqWJZNX4daYlKok,1576
332
+ kevin_toolbox_dev-1.3.9.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
333
+ kevin_toolbox_dev-1.3.9.dist-info/top_level.txt,sha256=S5TeRGF-PwlhsaUEPTI-f2vWrpLmh3axpyI6v-Fi75o,14
334
+ kevin_toolbox_dev-1.3.9.dist-info/RECORD,,