UtilityLibAPI 1.2512.801__tar.gz → 1.2512.1002__tar.gz

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.
Files changed (37) hide show
  1. utilitylibapi-1.2512.1002/MANIFEST.in +3 -0
  2. {utilitylibapi-1.2512.801/src/UtilityLibAPI.egg-info → utilitylibapi-1.2512.1002}/PKG-INFO +6 -3
  3. {utilitylibapi-1.2512.801 → utilitylibapi-1.2512.1002}/README.md +5 -2
  4. {utilitylibapi-1.2512.801 → utilitylibapi-1.2512.1002}/pyproject.toml +1 -1
  5. utilitylibapi-1.2512.1002/src/UtilityLibAPI/Archive7zLib.cp310-win_amd64.pyd +0 -0
  6. utilitylibapi-1.2512.1002/src/UtilityLibAPI/Archive7zLib.pyi +12 -0
  7. utilitylibapi-1.2512.1002/src/UtilityLibAPI/EnDeCodeCppPyLib.cp310-win_amd64.pyd +0 -0
  8. utilitylibapi-1.2512.1002/src/UtilityLibAPI/EnDeCodeCppPyLib.pyi +9 -0
  9. utilitylibapi-1.2512.1002/src/UtilityLibAPI/EnDeCodeLib.cp310-win_amd64.pyd +0 -0
  10. utilitylibapi-1.2512.1002/src/UtilityLibAPI/EnDeCodeLib.pyi +12 -0
  11. utilitylibapi-1.2512.1002/src/UtilityLibAPI/ExtWrapper7zLib.cp310-win_amd64.pyd +0 -0
  12. utilitylibapi-1.2512.1002/src/UtilityLibAPI/ExtWrapper7zLib.pyi +14 -0
  13. utilitylibapi-1.2512.1002/src/UtilityLibAPI/MailSenderLib.cp310-win_amd64.pyd +0 -0
  14. utilitylibapi-1.2512.1002/src/UtilityLibAPI/MailSenderLib.pyi +24 -0
  15. utilitylibapi-1.2512.1002/src/UtilityLibAPI/SessionVARLib.cp310-win_amd64.pyd +0 -0
  16. utilitylibapi-1.2512.1002/src/UtilityLibAPI/SessionVARLib.pyi +13 -0
  17. utilitylibapi-1.2512.1002/src/UtilityLibAPI/__init__.py +14 -0
  18. utilitylibapi-1.2512.1002/src/UtilityLibAPI/out/UtilityLibAPI/Archive7zLib.pyi +12 -0
  19. utilitylibapi-1.2512.1002/src/UtilityLibAPI/out/UtilityLibAPI/EnDeCodeCppPyLib.pyi +9 -0
  20. utilitylibapi-1.2512.1002/src/UtilityLibAPI/out/UtilityLibAPI/EnDeCodeLib.pyi +12 -0
  21. utilitylibapi-1.2512.1002/src/UtilityLibAPI/out/UtilityLibAPI/ExtWrapper7zLib.pyi +14 -0
  22. utilitylibapi-1.2512.1002/src/UtilityLibAPI/out/UtilityLibAPI/MailSenderLib.pyi +24 -0
  23. utilitylibapi-1.2512.1002/src/UtilityLibAPI/out/UtilityLibAPI/SessionVARLib.pyi +13 -0
  24. {utilitylibapi-1.2512.801 → utilitylibapi-1.2512.1002/src/UtilityLibAPI.egg-info}/PKG-INFO +6 -3
  25. utilitylibapi-1.2512.1002/src/UtilityLibAPI.egg-info/SOURCES.txt +29 -0
  26. utilitylibapi-1.2512.801/src/UtilityLibAPI/Archive7zLib.py +0 -335
  27. utilitylibapi-1.2512.801/src/UtilityLibAPI/EnDeCodeLib.py +0 -198
  28. utilitylibapi-1.2512.801/src/UtilityLibAPI/ExtWrapper7zLib.py +0 -166
  29. utilitylibapi-1.2512.801/src/UtilityLibAPI/MailSenderLib.py +0 -304
  30. utilitylibapi-1.2512.801/src/UtilityLibAPI/SessionVARLib.py +0 -143
  31. utilitylibapi-1.2512.801/src/UtilityLibAPI/__init__.py +0 -12
  32. utilitylibapi-1.2512.801/src/UtilityLibAPI.egg-info/SOURCES.txt +0 -15
  33. {utilitylibapi-1.2512.801 → utilitylibapi-1.2512.1002}/LICENSE +0 -0
  34. {utilitylibapi-1.2512.801 → utilitylibapi-1.2512.1002}/setup.cfg +0 -0
  35. {utilitylibapi-1.2512.801 → utilitylibapi-1.2512.1002}/src/UtilityLibAPI.egg-info/dependency_links.txt +0 -0
  36. {utilitylibapi-1.2512.801 → utilitylibapi-1.2512.1002}/src/UtilityLibAPI.egg-info/requires.txt +0 -0
  37. {utilitylibapi-1.2512.801 → utilitylibapi-1.2512.1002}/src/UtilityLibAPI.egg-info/top_level.txt +0 -0
@@ -0,0 +1,3 @@
1
+ recursive-exclude src *.py
2
+ recursive-include src *__init__.py
3
+ recursive-include src *.pyd
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: UtilityLibAPI
3
- Version: 1.2512.801
3
+ Version: 1.2512.1002
4
4
  Summary: UtilityLibAPI Python package
5
5
  Author-email: James Lin <tylin123@ms27.hinet.net>
6
6
  License: Copyright (c) 2025 James Lin **UtilityLibAPI**
@@ -33,14 +33,17 @@ Dynamic: license-file
33
33
  #UtilityLibAPI Classes
34
34
 
35
35
  ## History of version
36
+ Version 1.2512.1001: 2025/12/10<BR>
37
+ 1) Improve performace and speed for windows environment.<BR>
38
+ 2) Add CLASS_EnDeCodeCppPy class<BR>
39
+ 3) Remove CLASS_EnDeCode::CUF_CROSS_EncodeBase64(), CLASS_EnDeCode::CUF_CROSS_DecodeBase64()<BR>
40
+
36
41
  Version 1.2512.0801: 2025/12/08<BR>
37
42
  Modify CUF_Open() function for multi user accounts.
38
43
 
39
-
40
44
  Version 1.2512.0501: 2025/12/05<BR>
41
45
  Fixed break down when smtp server not auth or response time out.
42
46
 
43
-
44
47
  Version 1.2511.292: 2025/11/29<BR>
45
48
  Add Event for send mail when success or failure.
46
49
 
@@ -1,14 +1,17 @@
1
1
  #UtilityLibAPI Classes
2
2
 
3
3
  ## History of version
4
+ Version 1.2512.1001: 2025/12/10<BR>
5
+ 1) Improve performace and speed for windows environment.<BR>
6
+ 2) Add CLASS_EnDeCodeCppPy class<BR>
7
+ 3) Remove CLASS_EnDeCode::CUF_CROSS_EncodeBase64(), CLASS_EnDeCode::CUF_CROSS_DecodeBase64()<BR>
8
+
4
9
  Version 1.2512.0801: 2025/12/08<BR>
5
10
  Modify CUF_Open() function for multi user accounts.
6
11
 
7
-
8
12
  Version 1.2512.0501: 2025/12/05<BR>
9
13
  Fixed break down when smtp server not auth or response time out.
10
14
 
11
-
12
15
  Version 1.2511.292: 2025/11/29<BR>
13
16
  Add Event for send mail when success or failure.
14
17
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "UtilityLibAPI"
7
- version = "1.2512.0801"
7
+ version = "1.2512.1002"
8
8
  description = "UtilityLibAPI Python package"
9
9
  authors = [
10
10
  { name="James Lin", email="tylin123@ms27.hinet.net" }
@@ -0,0 +1,12 @@
1
+ from _typeshed import Incomplete
2
+
3
+ class CLASS_Archive7z:
4
+ on_progress: Incomplete
5
+ seven_zip_path: Incomplete
6
+ def __init__(self) -> None: ...
7
+ def CUF_SET_ProgressEvent(self, func_progress) -> None: ...
8
+ def CUF_CompressFolder(self, Pms_FolderName: str, Pms_File7z: str, Pms_Password: str = None, Pmi_SplitSize_K: int = -1): ...
9
+ def CUF_CompressFile(self, Pms_FileSource: str, Pms_File7z: str, Pms_Password: str = None, Pmi_SplitSize_K: int = -1): ...
10
+ def CUF_Decompress(self, Pms_ArchiveFile, Pms_OutputDir, Pms_Password=None): ...
11
+
12
+ def GE_ProgressEvent(Pmf_Percent) -> None: ...
@@ -0,0 +1,9 @@
1
+ from _typeshed import Incomplete
2
+
3
+ class CLASS_EnDeCodeCppPy:
4
+ CVmba_CppPyKeys: Incomplete
5
+ def __init__(self, Pmsa_CppPyKeys) -> None: ...
6
+ def CVF_ADV_Encrypt(self, Pms_b64: str) -> str: ...
7
+ def CVF_ADV_Decrypt(self, Pms_Merged: str) -> str: ...
8
+ def CUF_ENCRYPT_B64(self, Pms_Text: str) -> str: ...
9
+ def CUF_DECRYPT_B64(self, Pms_ENC_Text: str) -> str: ...
@@ -0,0 +1,12 @@
1
+ from _typeshed import Incomplete
2
+
3
+ class CLASS_EnDeCodeLib:
4
+ CVmba_CROSS_KEY: Incomplete
5
+ CVms_CROSS_ASC: str
6
+ CVms_CROSS_MAP: str
7
+ def __init__(self) -> None: ...
8
+ def CVF_CROSS_XOR(self, Pmc_SRC_CH): ...
9
+ def CUF_CROSS_SetKey(self, Rmca_KeyCode) -> None: ...
10
+ def CUF_CROSS_GetKey(self): ...
11
+ def CUF_CROSS_EnCode(self, Pms_SRC_Text): ...
12
+ def CUF_CROSS_DeCode(self, Pms_ENC_Text): ...
@@ -0,0 +1,14 @@
1
+ from _typeshed import Incomplete
2
+ from typing import Callable
3
+
4
+ class CLASS_ExtWrapper7z:
5
+ Pms_7z_path: Incomplete
6
+ tasks: dict[int, dict]
7
+ task_counter: int
8
+ lock: Incomplete
9
+ def __init__(self, Pms_7z_path: str | None = None) -> None: ...
10
+ def CUF_Find7zPath(self) -> str | None: ...
11
+ def CUF_AddTask(self, Pms_Mode: str, Pms_InputPath: str, Pms_OutputPath: str, Pmi_VolumeSizeMB: int = 0, Pms_Password: str = '', Pmf_Callback: Callable[[int, float, str], None] | None = None) -> int: ...
12
+ def CUF_CancelTask(self, Pmi_TaskID: int): ...
13
+ def CUF_GetTotalProgress(self) -> float: ...
14
+ def CUF_GetTaskStatus(self, Pmi_TaskID: int) -> str: ...
@@ -0,0 +1,24 @@
1
+ import smtplib
2
+ from _typeshed import Incomplete
3
+ from email import encoders as encoders
4
+ from email.mime.base import MIMEBase as MIMEBase
5
+ from email.mime.multipart import MIMEMultipart
6
+
7
+ class CLASS_MailSender:
8
+ CVms_SMTP_Server: Incomplete
9
+ CVmi_Port: Incomplete
10
+ CVms_Account: Incomplete
11
+ CVms_Password: Incomplete
12
+ CVmb_UseSSL: Incomplete
13
+ OnAfterSendSuccess: Callable[[str], None] | None
14
+ OnAfterSendFailure: Callable[[str], None] | None
15
+ CVobj_Server: smtplib.SMTP | None
16
+ def __init__(self, Pms_SMTP_Server: str, Pmi_Port: int, Pms_Account: str, Pms_Password: str, Pmb_UseSSL: bool = True) -> None: ...
17
+ def CUF_Open(self, Pms_Account: str, Pms_PassWD: str) -> bool: ...
18
+ def CUF_Close(self) -> None: ...
19
+ def CUF_Reconnect(self) -> bool: ...
20
+ def CUF_CreateMessage(self, Pms_Subject: str, Pms_BodyText: str, Pms_BodyHTML: str | None = None, Pms_From: str | None = None, Pobj_To: list[str] | None = None, Pobj_Cc: list[str] | None = None, Pobj_Bcc: list[str] | None = None, Pobj_Attachments: list[str] | None = None) -> MIMEMultipart: ...
21
+ def CUF_SendMail(self, Pms_Subject: str, Pms_BodyText: str, Pms_BodyHTML: str | None, Pobj_To: list[str], Pms_From: str | None = None, Pobj_Cc: list[str] | None = None, Pobj_Bcc: list[str] | None = None, Pobj_Attachments: list[str] | None = None) -> bool: ...
22
+
23
+ def GE_OnSendSuccess(Pms_Subject: str): ...
24
+ def GE_OnSendFailure(Pms_ErrMsg: str): ...
@@ -0,0 +1,13 @@
1
+ from _typeshed import Incomplete
2
+
3
+ class CLASS_SessionVAR:
4
+ conn: Incomplete
5
+ cursor: Incomplete
6
+ table_name: str
7
+ def __init__(self) -> None: ...
8
+ def CUF_New_SessionID(self): ...
9
+ def CUF_Create(self, Pms_host: str, Pmi_port: int, Pms_user: str, Pms_password: str, Pms_db: str, Pms_SessionID: str = None, Pms_table_name: str = '_session_table'): ...
10
+ def CUF_SET(self, Pms_SessionID, Pms_VarName, Pms_VarValue) -> None: ...
11
+ def CUF_GET(self, Pms_SessionID, Pms_VarName): ...
12
+ def CUF_Release(self, Pms_param) -> None: ...
13
+ def CUF_Close(self) -> None: ...
@@ -0,0 +1,14 @@
1
+ from .EnDeCodeLib import CLASS_EnDeCodeLib
2
+ from .EnDeCodeCppPyLib import CLASS_EnDeCodeCppPy
3
+ from .SessionVARLib import CLASS_SessionVAR
4
+ from .MailSenderLib import CLASS_MailSender
5
+ from .Archive7zLib import CLASS_Archive7z
6
+ from .ExtWrapper7zLib import CLASS_ExtWrapper7z
7
+
8
+ __all__ = ["CLASS_EnDeCodeLib",
9
+ "CLASS_EnDeCodeCppPy",
10
+ "CLASS_SessionVAR",
11
+ "CLASS_MailSender",
12
+ "CLASS_ExtWrapper7z",
13
+ "CLASS_Archive7z"
14
+ ]
@@ -0,0 +1,12 @@
1
+ from _typeshed import Incomplete
2
+
3
+ class CLASS_Archive7z:
4
+ on_progress: Incomplete
5
+ seven_zip_path: Incomplete
6
+ def __init__(self) -> None: ...
7
+ def CUF_SET_ProgressEvent(self, func_progress) -> None: ...
8
+ def CUF_CompressFolder(self, Pms_FolderName: str, Pms_File7z: str, Pms_Password: str = None, Pmi_SplitSize_K: int = -1): ...
9
+ def CUF_CompressFile(self, Pms_FileSource: str, Pms_File7z: str, Pms_Password: str = None, Pmi_SplitSize_K: int = -1): ...
10
+ def CUF_Decompress(self, Pms_ArchiveFile, Pms_OutputDir, Pms_Password=None): ...
11
+
12
+ def GE_ProgressEvent(Pmf_Percent) -> None: ...
@@ -0,0 +1,9 @@
1
+ from _typeshed import Incomplete
2
+
3
+ class CLASS_EnDeCodeCppPy:
4
+ CVmba_CppPyKeys: Incomplete
5
+ def __init__(self, Pmsa_CppPyKeys) -> None: ...
6
+ def CVF_ADV_Encrypt(self, Pms_b64: str) -> str: ...
7
+ def CVF_ADV_Decrypt(self, Pms_Merged: str) -> str: ...
8
+ def CUF_ENCRYPT_B64(self, Pms_Text: str) -> str: ...
9
+ def CUF_DECRYPT_B64(self, Pms_ENC_Text: str) -> str: ...
@@ -0,0 +1,12 @@
1
+ from _typeshed import Incomplete
2
+
3
+ class CLASS_EnDeCodeLib:
4
+ CVmba_CROSS_KEY: Incomplete
5
+ CVms_CROSS_ASC: str
6
+ CVms_CROSS_MAP: str
7
+ def __init__(self) -> None: ...
8
+ def CVF_CROSS_XOR(self, Pmc_SRC_CH): ...
9
+ def CUF_CROSS_SetKey(self, Rmca_KeyCode) -> None: ...
10
+ def CUF_CROSS_GetKey(self): ...
11
+ def CUF_CROSS_EnCode(self, Pms_SRC_Text): ...
12
+ def CUF_CROSS_DeCode(self, Pms_ENC_Text): ...
@@ -0,0 +1,14 @@
1
+ from _typeshed import Incomplete
2
+ from typing import Callable
3
+
4
+ class CLASS_ExtWrapper7z:
5
+ Pms_7z_path: Incomplete
6
+ tasks: dict[int, dict]
7
+ task_counter: int
8
+ lock: Incomplete
9
+ def __init__(self, Pms_7z_path: str | None = None) -> None: ...
10
+ def CUF_Find7zPath(self) -> str | None: ...
11
+ def CUF_AddTask(self, Pms_Mode: str, Pms_InputPath: str, Pms_OutputPath: str, Pmi_VolumeSizeMB: int = 0, Pms_Password: str = '', Pmf_Callback: Callable[[int, float, str], None] | None = None) -> int: ...
12
+ def CUF_CancelTask(self, Pmi_TaskID: int): ...
13
+ def CUF_GetTotalProgress(self) -> float: ...
14
+ def CUF_GetTaskStatus(self, Pmi_TaskID: int) -> str: ...
@@ -0,0 +1,24 @@
1
+ import smtplib
2
+ from _typeshed import Incomplete
3
+ from email import encoders as encoders
4
+ from email.mime.base import MIMEBase as MIMEBase
5
+ from email.mime.multipart import MIMEMultipart
6
+
7
+ class CLASS_MailSender:
8
+ CVms_SMTP_Server: Incomplete
9
+ CVmi_Port: Incomplete
10
+ CVms_Account: Incomplete
11
+ CVms_Password: Incomplete
12
+ CVmb_UseSSL: Incomplete
13
+ OnAfterSendSuccess: Callable[[str], None] | None
14
+ OnAfterSendFailure: Callable[[str], None] | None
15
+ CVobj_Server: smtplib.SMTP | None
16
+ def __init__(self, Pms_SMTP_Server: str, Pmi_Port: int, Pms_Account: str, Pms_Password: str, Pmb_UseSSL: bool = True) -> None: ...
17
+ def CUF_Open(self, Pms_Account: str, Pms_PassWD: str) -> bool: ...
18
+ def CUF_Close(self) -> None: ...
19
+ def CUF_Reconnect(self) -> bool: ...
20
+ def CUF_CreateMessage(self, Pms_Subject: str, Pms_BodyText: str, Pms_BodyHTML: str | None = None, Pms_From: str | None = None, Pobj_To: list[str] | None = None, Pobj_Cc: list[str] | None = None, Pobj_Bcc: list[str] | None = None, Pobj_Attachments: list[str] | None = None) -> MIMEMultipart: ...
21
+ def CUF_SendMail(self, Pms_Subject: str, Pms_BodyText: str, Pms_BodyHTML: str | None, Pobj_To: list[str], Pms_From: str | None = None, Pobj_Cc: list[str] | None = None, Pobj_Bcc: list[str] | None = None, Pobj_Attachments: list[str] | None = None) -> bool: ...
22
+
23
+ def GE_OnSendSuccess(Pms_Subject: str): ...
24
+ def GE_OnSendFailure(Pms_ErrMsg: str): ...
@@ -0,0 +1,13 @@
1
+ from _typeshed import Incomplete
2
+
3
+ class CLASS_SessionVAR:
4
+ conn: Incomplete
5
+ cursor: Incomplete
6
+ table_name: str
7
+ def __init__(self) -> None: ...
8
+ def CUF_New_SessionID(self): ...
9
+ def CUF_Create(self, Pms_host: str, Pmi_port: int, Pms_user: str, Pms_password: str, Pms_db: str, Pms_SessionID: str = None, Pms_table_name: str = '_session_table'): ...
10
+ def CUF_SET(self, Pms_SessionID, Pms_VarName, Pms_VarValue) -> None: ...
11
+ def CUF_GET(self, Pms_SessionID, Pms_VarName): ...
12
+ def CUF_Release(self, Pms_param) -> None: ...
13
+ def CUF_Close(self) -> None: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: UtilityLibAPI
3
- Version: 1.2512.801
3
+ Version: 1.2512.1002
4
4
  Summary: UtilityLibAPI Python package
5
5
  Author-email: James Lin <tylin123@ms27.hinet.net>
6
6
  License: Copyright (c) 2025 James Lin **UtilityLibAPI**
@@ -33,14 +33,17 @@ Dynamic: license-file
33
33
  #UtilityLibAPI Classes
34
34
 
35
35
  ## History of version
36
+ Version 1.2512.1001: 2025/12/10<BR>
37
+ 1) Improve performace and speed for windows environment.<BR>
38
+ 2) Add CLASS_EnDeCodeCppPy class<BR>
39
+ 3) Remove CLASS_EnDeCode::CUF_CROSS_EncodeBase64(), CLASS_EnDeCode::CUF_CROSS_DecodeBase64()<BR>
40
+
36
41
  Version 1.2512.0801: 2025/12/08<BR>
37
42
  Modify CUF_Open() function for multi user accounts.
38
43
 
39
-
40
44
  Version 1.2512.0501: 2025/12/05<BR>
41
45
  Fixed break down when smtp server not auth or response time out.
42
46
 
43
-
44
47
  Version 1.2511.292: 2025/11/29<BR>
45
48
  Add Event for send mail when success or failure.
46
49
 
@@ -0,0 +1,29 @@
1
+ LICENSE
2
+ MANIFEST.in
3
+ README.md
4
+ pyproject.toml
5
+ setup.cfg
6
+ src/UtilityLibAPI/Archive7zLib.cp310-win_amd64.pyd
7
+ src/UtilityLibAPI/Archive7zLib.pyi
8
+ src/UtilityLibAPI/EnDeCodeCppPyLib.cp310-win_amd64.pyd
9
+ src/UtilityLibAPI/EnDeCodeCppPyLib.pyi
10
+ src/UtilityLibAPI/EnDeCodeLib.cp310-win_amd64.pyd
11
+ src/UtilityLibAPI/EnDeCodeLib.pyi
12
+ src/UtilityLibAPI/ExtWrapper7zLib.cp310-win_amd64.pyd
13
+ src/UtilityLibAPI/ExtWrapper7zLib.pyi
14
+ src/UtilityLibAPI/MailSenderLib.cp310-win_amd64.pyd
15
+ src/UtilityLibAPI/MailSenderLib.pyi
16
+ src/UtilityLibAPI/SessionVARLib.cp310-win_amd64.pyd
17
+ src/UtilityLibAPI/SessionVARLib.pyi
18
+ src/UtilityLibAPI/__init__.py
19
+ src/UtilityLibAPI.egg-info/PKG-INFO
20
+ src/UtilityLibAPI.egg-info/SOURCES.txt
21
+ src/UtilityLibAPI.egg-info/dependency_links.txt
22
+ src/UtilityLibAPI.egg-info/requires.txt
23
+ src/UtilityLibAPI.egg-info/top_level.txt
24
+ src/UtilityLibAPI/out/UtilityLibAPI/Archive7zLib.pyi
25
+ src/UtilityLibAPI/out/UtilityLibAPI/EnDeCodeCppPyLib.pyi
26
+ src/UtilityLibAPI/out/UtilityLibAPI/EnDeCodeLib.pyi
27
+ src/UtilityLibAPI/out/UtilityLibAPI/ExtWrapper7zLib.pyi
28
+ src/UtilityLibAPI/out/UtilityLibAPI/MailSenderLib.pyi
29
+ src/UtilityLibAPI/out/UtilityLibAPI/SessionVARLib.pyi