ErisPulse 2.3.0__py3-none-any.whl → 2.3.1__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.
- ErisPulse/__init__.py +12 -1
- {erispulse-2.3.0.dist-info → erispulse-2.3.1.dist-info}/METADATA +1 -1
- {erispulse-2.3.0.dist-info → erispulse-2.3.1.dist-info}/RECORD +6 -6
- {erispulse-2.3.0.dist-info → erispulse-2.3.1.dist-info}/entry_points.txt +1 -1
- {erispulse-2.3.0.dist-info → erispulse-2.3.1.dist-info}/WHEEL +0 -0
- {erispulse-2.3.0.dist-info → erispulse-2.3.1.dist-info}/licenses/LICENSE +0 -0
ErisPulse/__init__.py
CHANGED
|
@@ -1085,9 +1085,19 @@ async def init() -> bool:
|
|
|
1085
1085
|
"""
|
|
1086
1086
|
if not await _prepare_environment():
|
|
1087
1087
|
return False
|
|
1088
|
-
|
|
1088
|
+
|
|
1089
1089
|
return await ModuleInitializer.init()
|
|
1090
1090
|
|
|
1091
|
+
def init_sync() -> bool:
|
|
1092
|
+
"""
|
|
1093
|
+
SDK初始化入口(同步版本)
|
|
1094
|
+
|
|
1095
|
+
用于命令行直接调用,自动在事件循环中运行异步初始化
|
|
1096
|
+
|
|
1097
|
+
:return: bool SDK初始化是否成功
|
|
1098
|
+
"""
|
|
1099
|
+
return asyncio.run(init())
|
|
1100
|
+
|
|
1091
1101
|
def init_task() -> asyncio.Task:
|
|
1092
1102
|
"""
|
|
1093
1103
|
SDK初始化入口,返回Task对象
|
|
@@ -1105,6 +1115,7 @@ def init_task() -> asyncio.Task:
|
|
|
1105
1115
|
loop = asyncio.new_event_loop()
|
|
1106
1116
|
asyncio.set_event_loop(loop)
|
|
1107
1117
|
return loop.create_task(_async_init())
|
|
1118
|
+
|
|
1108
1119
|
async def uninit() -> bool:
|
|
1109
1120
|
"""
|
|
1110
1121
|
SDK反初始化
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
ErisPulse/__init__.py,sha256=
|
|
1
|
+
ErisPulse/__init__.py,sha256=u5b96KfFq57kB4I51t_YAU_aLVTftG4rLkAqFmmYwVA,50327
|
|
2
2
|
ErisPulse/__main__.py,sha256=x1VV2mbn1B9RVRhG5uumTCrvZCLzJjGWN0wFll-G0H4,471
|
|
3
3
|
ErisPulse/Core/__init__.py,sha256=9RNwUq9Hbe3r6nA8QBvq2pvMJN4QiBfo71N0u_ywiwI,1398
|
|
4
4
|
ErisPulse/Core/_self_config.py,sha256=ReoVy2hYZxG7hPRHXUWRjLClC4nWZ2RG8VWdD-PAM7g,3549
|
|
@@ -27,8 +27,8 @@ ErisPulse/utils/cli.py,sha256=-K24UOi3EO65R2tCnVjikVFETzxUtuSApmPZH7iH5gs,40894
|
|
|
27
27
|
ErisPulse/utils/console.py,sha256=IIo8kVTy0ikEp1H4V6BsokaQp_ISfBFuxlhQcRnk2vs,1145
|
|
28
28
|
ErisPulse/utils/package_manager.py,sha256=uv9Q24Qxa2bbotxLrSvhF-lX6vEmK-4KPCIwPe6ZyGc,32698
|
|
29
29
|
ErisPulse/utils/reload_handler.py,sha256=ToBE9EiXY8ZNNL8jntdsc2Dpy-Wgh73Jd3aBpedKAtg,3369
|
|
30
|
-
erispulse-2.3.
|
|
31
|
-
erispulse-2.3.
|
|
32
|
-
erispulse-2.3.
|
|
33
|
-
erispulse-2.3.
|
|
34
|
-
erispulse-2.3.
|
|
30
|
+
erispulse-2.3.1.dist-info/METADATA,sha256=WvmkTAbyCTSgkpMGQc31U_Lb-wZCfhL3IwJXcQTcJM0,7473
|
|
31
|
+
erispulse-2.3.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
32
|
+
erispulse-2.3.1.dist-info/entry_points.txt,sha256=NiOwT6-XQ7KIH1r6J8odjRO-uaKHfr_Vz_UIG96EWXg,187
|
|
33
|
+
erispulse-2.3.1.dist-info/licenses/LICENSE,sha256=tJjKWuY4OPWNgriiixWLvmFb8Pf8p_-4NMq_zZN3gWg,1858
|
|
34
|
+
erispulse-2.3.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|