SystemLibAPI 1.2606.3001__cp310-cp310-win_amd64.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.
Binary file
SysLib/SystemLib.pyi ADDED
@@ -0,0 +1,10 @@
1
+ class CLASS_SystemLib:
2
+ def __init__(self) -> None: ...
3
+ def CUF_DisableCtrlC(self) -> None: ...
4
+ def CUF_CurrentTimeInRange(self, Pms_TimeRange): ...
5
+ def CUF_Delay(self, Pmd_sec) -> None: ...
6
+ def CUF_Sleep(self, Pmd_sec) -> None: ...
7
+ def CUF_GetDateTime(self, Pms_SEP_Date, Pms_SEP_Time): ...
8
+ def CUF_GetDateTime(self): ...
9
+ def CUF_GetDate(self, Pms_SEP_Date): ...
10
+ def CUF_GetTime(self, Pms_SEP_Time): ...
SysLib/__init__.py ADDED
File without changes
@@ -0,0 +1,10 @@
1
+ class CLASS_SystemLib:
2
+ def __init__(self) -> None: ...
3
+ def CUF_DisableCtrlC(self) -> None: ...
4
+ def CUF_CurrentTimeInRange(self, Pms_TimeRange): ...
5
+ def CUF_Delay(self, Pmd_sec) -> None: ...
6
+ def CUF_Sleep(self, Pmd_sec) -> None: ...
7
+ def CUF_GetDateTime(self, Pms_SEP_Date, Pms_SEP_Time): ...
8
+ def CUF_GetDateTime(self): ...
9
+ def CUF_GetDate(self, Pms_SEP_Date): ...
10
+ def CUF_GetTime(self, Pms_SEP_Time): ...
@@ -0,0 +1,21 @@
1
+ from _typeshed import Incomplete
2
+
3
+ class CLASS_MultiTaskAdv:
4
+ CVF_TargetFunc: Incomplete
5
+ CVF_MaxCPU: Incomplete
6
+ CVF_TableName: Incomplete
7
+ CVF_DBConfig: Incomplete
8
+ CVF_HostName: Incomplete
9
+ Evt_OnTaskRegister: Incomplete
10
+ Evt_OnProcStart: Incomplete
11
+ Evt_OnProcExit: Incomplete
12
+ Evt_OnProcDead: Incomplete
13
+ Evt_OnIdle: Incomplete
14
+ def __init__(self, Pmf_TargetFunc, Pmi_MaxCPU, Pmd_DBConfig, Pms_TableName: str = '_syscpu_gate_worker', PmF_Event_OnTaskRegister=None, PmF_Event_OnProcessStart=None, PmF_Event_OnProcessExit=None, PmF_Event_OnProcessDead=None, PmF_Event_OnIdle=None) -> None: ...
15
+ def CVF_GetDBConn(self): ...
16
+ def CVF_EnsureTable(self) -> None: ...
17
+ def CUF_HasPendingOrRunning(self): ...
18
+ def CUF_RegisterTask(self, Pms_TaskName) -> None: ...
19
+ def CUF_GetTaskCount(self): ...
20
+ def CUF_TryFetchTask(self): ...
21
+ def CUF_Run(self, Pmi_SleepIdle: int = 1) -> None: ...
@@ -0,0 +1,52 @@
1
+ from _typeshed import Incomplete
2
+ from enum import Enum
3
+
4
+ class ENUM_TASK_MODE(Enum):
5
+ cE_TaskM_TThread = 1
6
+ cE_TaskM_AsyncThread = 2
7
+ cE_TaskM_TProcess = 3
8
+ cE_TaskM_AutoTune = 99
9
+
10
+ class CLASS_ProcessGate:
11
+ CVI_CPU_Physical: Incomplete
12
+ CVI_CPU_Logical: Incomplete
13
+ CV_Semaphore: Incomplete
14
+ CVF_OnOverLimit: Incomplete
15
+ CVI_RunningProc: Incomplete
16
+ def __init__(self, Pmf_OnOverLimit=None) -> None: ...
17
+ @classmethod
18
+ def CUF_Instance(cls, Pmf_OnOverLimit=None): ...
19
+ @staticmethod
20
+ def CUF_GetCPUInfo(): ...
21
+ def CUF_Acquire(self) -> None: ...
22
+ def CUF_Release(self) -> None: ...
23
+
24
+ class CLASS_WatchDog:
25
+ CVI_Timeout: Incomplete
26
+ CVF_OnDead: Incomplete
27
+ CVT_LastBeat: Incomplete
28
+ def __init__(self, Pmi_Timeout, Pmf_OnDead) -> None: ...
29
+ def CUF_Beat(self) -> None: ...
30
+ def CUF_Stop(self) -> None: ...
31
+
32
+ class CLASS_MultiTask:
33
+ @staticmethod
34
+ def CUF_Init_For_PyInstaller() -> None: ...
35
+ CVE_TaskMode: Incomplete
36
+ CVF_TaskFunc: Incomplete
37
+ CVI_Timeout: Incomplete
38
+ CVD_EvalResult: Incomplete
39
+ CVE_OnProcessStarted: Incomplete
40
+ CVE_OnProcessFinished: Incomplete
41
+ CVE_OnProcessOverLimit: Incomplete
42
+ CV_WatchDog: Incomplete
43
+ def __init__(self, PmE_TaskMode, PmF_TaskMainFunc, Pmi_Timeout: int = 5, Pmb_EnableWatchDog: bool = True, PmF_Event_OnProcessStarted=None, PmF_Event_OnProcessFinished=None, PmF_Event_OnProcessOverLimit=None) -> None: ...
44
+ def CUF_EvaluateTask(self): ...
45
+ def CUF_GetBestMode(self): ...
46
+ def CUF_Start(self) -> None: ...
47
+
48
+ class CLASS_MultiTaskGroup:
49
+ tasks: Incomplete
50
+ def __init__(self, task_list) -> None: ...
51
+ def CUF_EvaluateAll(self): ...
52
+ def CUF_StartAll(self) -> None: ...
Binary file
@@ -0,0 +1,8 @@
1
+ from threading import Timer
2
+
3
+ class CLASS_ThreadTimer(Timer):
4
+ def run(self) -> None: ...
5
+ def CUF_Start(self) -> None: ...
6
+ def CUF_Stop(self) -> None: ...
7
+
8
+ def GE_EVENT_OnTimer() -> None: ...
SysTaskLib/__init__.py ADDED
File without changes
@@ -0,0 +1,21 @@
1
+ from _typeshed import Incomplete
2
+
3
+ class CLASS_MultiTaskAdv:
4
+ CVF_TargetFunc: Incomplete
5
+ CVF_MaxCPU: Incomplete
6
+ CVF_TableName: Incomplete
7
+ CVF_DBConfig: Incomplete
8
+ CVF_HostName: Incomplete
9
+ Evt_OnTaskRegister: Incomplete
10
+ Evt_OnProcStart: Incomplete
11
+ Evt_OnProcExit: Incomplete
12
+ Evt_OnProcDead: Incomplete
13
+ Evt_OnIdle: Incomplete
14
+ def __init__(self, Pmf_TargetFunc, Pmi_MaxCPU, Pmd_DBConfig, Pms_TableName: str = '_syscpu_gate_worker', PmF_Event_OnTaskRegister=None, PmF_Event_OnProcessStart=None, PmF_Event_OnProcessExit=None, PmF_Event_OnProcessDead=None, PmF_Event_OnIdle=None) -> None: ...
15
+ def CVF_GetDBConn(self): ...
16
+ def CVF_EnsureTable(self) -> None: ...
17
+ def CUF_HasPendingOrRunning(self): ...
18
+ def CUF_RegisterTask(self, Pms_TaskName) -> None: ...
19
+ def CUF_GetTaskCount(self): ...
20
+ def CUF_TryFetchTask(self): ...
21
+ def CUF_Run(self, Pmi_SleepIdle: int = 1) -> None: ...
@@ -0,0 +1,52 @@
1
+ from _typeshed import Incomplete
2
+ from enum import Enum
3
+
4
+ class ENUM_TASK_MODE(Enum):
5
+ cE_TaskM_TThread = 1
6
+ cE_TaskM_AsyncThread = 2
7
+ cE_TaskM_TProcess = 3
8
+ cE_TaskM_AutoTune = 99
9
+
10
+ class CLASS_ProcessGate:
11
+ CVI_CPU_Physical: Incomplete
12
+ CVI_CPU_Logical: Incomplete
13
+ CV_Semaphore: Incomplete
14
+ CVF_OnOverLimit: Incomplete
15
+ CVI_RunningProc: Incomplete
16
+ def __init__(self, Pmf_OnOverLimit=None) -> None: ...
17
+ @classmethod
18
+ def CUF_Instance(cls, Pmf_OnOverLimit=None): ...
19
+ @staticmethod
20
+ def CUF_GetCPUInfo(): ...
21
+ def CUF_Acquire(self) -> None: ...
22
+ def CUF_Release(self) -> None: ...
23
+
24
+ class CLASS_WatchDog:
25
+ CVI_Timeout: Incomplete
26
+ CVF_OnDead: Incomplete
27
+ CVT_LastBeat: Incomplete
28
+ def __init__(self, Pmi_Timeout, Pmf_OnDead) -> None: ...
29
+ def CUF_Beat(self) -> None: ...
30
+ def CUF_Stop(self) -> None: ...
31
+
32
+ class CLASS_MultiTask:
33
+ @staticmethod
34
+ def CUF_Init_For_PyInstaller() -> None: ...
35
+ CVE_TaskMode: Incomplete
36
+ CVF_TaskFunc: Incomplete
37
+ CVI_Timeout: Incomplete
38
+ CVD_EvalResult: Incomplete
39
+ CVE_OnProcessStarted: Incomplete
40
+ CVE_OnProcessFinished: Incomplete
41
+ CVE_OnProcessOverLimit: Incomplete
42
+ CV_WatchDog: Incomplete
43
+ def __init__(self, PmE_TaskMode, PmF_TaskMainFunc, Pmi_Timeout: int = 5, Pmb_EnableWatchDog: bool = True, PmF_Event_OnProcessStarted=None, PmF_Event_OnProcessFinished=None, PmF_Event_OnProcessOverLimit=None) -> None: ...
44
+ def CUF_EvaluateTask(self): ...
45
+ def CUF_GetBestMode(self): ...
46
+ def CUF_Start(self) -> None: ...
47
+
48
+ class CLASS_MultiTaskGroup:
49
+ tasks: Incomplete
50
+ def __init__(self, task_list) -> None: ...
51
+ def CUF_EvaluateAll(self): ...
52
+ def CUF_StartAll(self) -> None: ...
@@ -0,0 +1,8 @@
1
+ from threading import Timer
2
+
3
+ class CLASS_ThreadTimer(Timer):
4
+ def run(self) -> None: ...
5
+ def CUF_Start(self) -> None: ...
6
+ def CUF_Stop(self) -> None: ...
7
+
8
+ def GE_EVENT_OnTimer() -> None: ...
@@ -0,0 +1,59 @@
1
+ Metadata-Version: 2.4
2
+ Name: SystemLibAPI
3
+ Version: 1.2606.3001
4
+ Summary: SystemLibAPI Python package (py-src)
5
+ Author-email: James Lin <tylin123@ms27.hinet.net>
6
+ License: Copyright (c) 2025 James Lin
7
+
8
+ All rights reserved.
9
+
10
+ Permission is granted for **personal, educational, or non-commercial use only**.
11
+ You **may NOT**:
12
+
13
+ 1. Sell or otherwise commercially exploit this software or any part of it.
14
+ 2. Reproduce, distribute, or sublicense this software for commercial purposes.
15
+ 3. Modify or create derivative works for commercial purposes without explicit written permission from the copyright holder.
16
+
17
+ You **may**:
18
+
19
+ - Use the software for personal learning, research, or internal company evaluation (non-commercial).
20
+ - Share the software with attribution to the original author, as long as it is not for commercial gain.
21
+
22
+ **Disclaimer:**
23
+ This software is provided "AS IS", without any warranty of any kind, either expressed or implied,
24
+ including but not limited to the warranties of merchantability, fitness for a particular purpose, or non-infringement.
25
+ In no event shall the author be liable for any claim, damages, or other liability arising from, out of, or in connection with the software or its use.
26
+
27
+ Project-URL: Homepage, https://mis.gotech.biz
28
+ Requires-Python: >=3.10
29
+ Description-Content-Type: text/markdown
30
+ License-File: LICENSE
31
+ Requires-Dist: psutil
32
+ Dynamic: license-file
33
+
34
+ #SystemLibAPI
35
+
36
+ ## History of version
37
+ Version 1.2606.3001: 2026/06/30<BR>
38
+ Reconstruct framework
39
+
40
+
41
+ Version 1.2601.0702: 2026/01/07<BR>
42
+ Fixed MultiTaskLib (CLASS_MultiTask) Task function (Entry Point) bug#2.
43
+
44
+ Version 1.2601.0701: 2026/01/07<BR>
45
+ Fixed MultiTaskLib (CLASS_MultiTask) Task function (Entry Point) bug.
46
+
47
+
48
+ Version 1.2601.0601: 2026/01/06<BR>
49
+ Add SystemLibAPI package (MultiTaskAdvLib) advanced version for Multi-Task & fast switching method.
50
+ Adaptive method for detect cpu core count and dispatch task to process.
51
+
52
+
53
+ Version 1.2601.0502: 2026/01/05<BR>
54
+ Improve SystemLibAPI package (MultiTaskLib) Multi-Process functionnality.
55
+ Support auto detect multi cpu for multi task.
56
+
57
+
58
+ Version 1.2601.0501: 2026/01/05<BR>
59
+ Integrated SysLib(SystemLib) & MultiTaskLib, ThreadLib(SysTaskLib) into SystemLibAPI package.
@@ -0,0 +1,20 @@
1
+ SysLib/SystemLib.cp310-win_amd64.pyd,sha256=5s5hUzgxE4zWGrWmkhJkmm5YnfuWqkgyFJlydmzRilc,227328
2
+ SysLib/SystemLib.pyi,sha256=n8ECRqXxB9vrUMC6uxqNxvnQ5vy6wB1O7gZ_9opY_mA,450
3
+ SysLib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ SysLib/out/src/SysLib/SystemLib.pyi,sha256=n8ECRqXxB9vrUMC6uxqNxvnQ5vy6wB1O7gZ_9opY_mA,450
5
+ SysTaskLib/MultiTaskAdvLib.cp310-win_amd64.pyd,sha256=5OeMaoUf9a_uDFsec_gFFSXY27MNgoIY9xwLTwU6zHI,245248
6
+ SysTaskLib/MultiTaskAdvLib.pyi,sha256=uqWNFLLL80tLdgkaR1MlLqKi7QRjK16s9azJs0FSsQ4,958
7
+ SysTaskLib/MultiTaskLib.cp310-win_amd64.pyd,sha256=bKQ3jrXO17wTXJ5oXX_JcPHgfrES3lNX8c7vyHtn6zM,311296
8
+ SysTaskLib/MultiTaskLib.pyi,sha256=xAvb0jBK54oGZ2FkGIyZjOdD_gUIVBID2bFXdmcKd1c,1776
9
+ SysTaskLib/ThreadLib.cp310-win_amd64.pyd,sha256=zIlxBQLEWteCWRBO3xfEwMyKaLb80UGPs7jwhDe6-84,228352
10
+ SysTaskLib/ThreadLib.pyi,sha256=AOIKXBHKBwwsmILVRlZmevR3fZVKCvegJHbHx9v2K_4,210
11
+ SysTaskLib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
+ SysTaskLib/out/src/SysTaskLib/MultiTaskAdvLib.pyi,sha256=uqWNFLLL80tLdgkaR1MlLqKi7QRjK16s9azJs0FSsQ4,958
13
+ SysTaskLib/out/src/SysTaskLib/MultiTaskLib.pyi,sha256=xAvb0jBK54oGZ2FkGIyZjOdD_gUIVBID2bFXdmcKd1c,1776
14
+ SysTaskLib/out/src/SysTaskLib/ThreadLib.pyi,sha256=AOIKXBHKBwwsmILVRlZmevR3fZVKCvegJHbHx9v2K_4,210
15
+ SystemLibAPI/_binary_gate.cp310-win_amd64.pyd,sha256=Ih_Wsa8Lpyg5LZT95JYiCwvoWB6h6tuBBRnqwd3ttOg,10752
16
+ systemlibapi-1.2606.3001.dist-info/licenses/LICENSE,sha256=bTN6shImvjBn0VScA1LIqy7LH3B_O6XZieGPnoT4Gxk,1054
17
+ systemlibapi-1.2606.3001.dist-info/METADATA,sha256=9kIoImTsIK_aBfr_r7CkWIX2pBgJ3_6Yv8VdlwJFa_w,2410
18
+ systemlibapi-1.2606.3001.dist-info/WHEEL,sha256=iPjZCrxu1cE-Y3uyjjPaXg-jNuvTXT9YfQfIwfucHF4,101
19
+ systemlibapi-1.2606.3001.dist-info/top_level.txt,sha256=VxDeyw6ZecV7Eatf_3nYqkb_PVQxxTkmLEM910YNtyI,31
20
+ systemlibapi-1.2606.3001.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp310-cp310-win_amd64
5
+
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2025 James Lin
2
+
3
+ All rights reserved.
4
+
5
+ Permission is granted for **personal, educational, or non-commercial use only**.
6
+ You **may NOT**:
7
+
8
+ 1. Sell or otherwise commercially exploit this software or any part of it.
9
+ 2. Reproduce, distribute, or sublicense this software for commercial purposes.
10
+ 3. Modify or create derivative works for commercial purposes without explicit written permission from the copyright holder.
11
+
12
+ You **may**:
13
+
14
+ - Use the software for personal learning, research, or internal company evaluation (non-commercial).
15
+ - Share the software with attribution to the original author, as long as it is not for commercial gain.
16
+
17
+ **Disclaimer:**
18
+ This software is provided "AS IS", without any warranty of any kind, either expressed or implied,
19
+ including but not limited to the warranties of merchantability, fitness for a particular purpose, or non-infringement.
20
+ In no event shall the author be liable for any claim, damages, or other liability arising from, out of, or in connection with the software or its use.
@@ -0,0 +1,3 @@
1
+ SysLib
2
+ SysTaskLib
3
+ SystemLibAPI