mySQLDBCtrlAPI 1.2511.28__tar.gz → 1.2512.101__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mySQLDBCtrlAPI
3
- Version: 1.2511.28
3
+ Version: 1.2512.101
4
4
  Summary: mySQLDBCtrlAPI Python package
5
5
  Author-email: James Lin <tylin123@ms27.hinet.net>
6
6
  License: Copyright (c) 2025 James Lin
@@ -34,6 +34,10 @@ Dynamic: license-file
34
34
  #mySQLDBCtrlAPI
35
35
 
36
36
  ## History of version
37
+ Version 1.2512.0101: 2025/12/01<BR>
38
+ Fixed error CUF_GetServerDateTime(...) when error on fetch data from dataset
39
+
40
+
37
41
  Version 1.2511.28: 2025/11/28<BR>
38
42
  Fixed error CUF_GET_Blob(...) will disturbe cursor position.
39
43
 
@@ -1,6 +1,10 @@
1
1
  #mySQLDBCtrlAPI
2
2
 
3
3
  ## History of version
4
+ Version 1.2512.0101: 2025/12/01<BR>
5
+ Fixed error CUF_GetServerDateTime(...) when error on fetch data from dataset
6
+
7
+
4
8
  Version 1.2511.28: 2025/11/28<BR>
5
9
  Fixed error CUF_GET_Blob(...) will disturbe cursor position.
6
10
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "mySQLDBCtrlAPI"
7
- version = "1.2511.28"
7
+ version = "1.2512.0101"
8
8
  requires-python = ">=3.10"
9
9
  description = "mySQLDBCtrlAPI Python package"
10
10
  authors = [
@@ -2,6 +2,7 @@
2
2
 
3
3
  # Stubs included by default
4
4
  from __future__ import annotations
5
+ from sshtunnel import SSHTunnelForwarder
5
6
  from typing import Any
6
7
  from typing_extensions import Self
7
8
  import os
@@ -16,9 +17,12 @@ class STRU_mySQLDBInfo:
16
17
  class CLASS_mySQLDBCtrl:
17
18
  def __init__(self: Self) -> None: ...
18
19
  def CUF_SET_Charset(self: Self, PmE_DB_Charset: Any) -> Any: ...
20
+ def CUF_SSH_Open(self: Self, Pms_ssh_host: Any, Pms_ssh_port: Any, Pms_ssh_username: Any, Pms_ssh_pkey: Any, Pms_remote_bind_address: Any, Pms_local_bind_address: Any) -> Any: ...
21
+ def CUF_SSH_Start(self: Self) -> Any: ...
19
22
  def CUF_OpenConnection_DBCS(self: Self, Pms_DB_HostIP: Any, Pmi_DB_Port: Any, Pms_DB_Name: Any, Pms_User: Any, Pms_Password: Any, PmE_DB_CHARSET: Any) -> Any: ...
20
23
  def CUF_OpenConnection(self: Self, Pms_DB_HostIP: Any, Pmi_DB_Port: Any, Pms_DB_Name: Any, Pms_User: Any, Pms_Password: Any) -> Any: ...
21
24
  def CUF_DB_OpenConn(self: Self, Pstru_mySQLDBInfo: Any) -> Any: ...
25
+ def CUF_OpenConnection_SSH(self: Self, Pms_DB_Name: Any, Pms_User: Any, Pms_Password: Any) -> Any: ...
22
26
  def CUF_DB_OpenSQL(self: Self, Pobj_Connection: Any, Pms_SQL: Any) -> Any: ...
23
27
  def CUF_DB_OpenSQL_utf8(self: Self, Pobj_Connection: Any, Pms_SQL: Any) -> Any: ...
24
28
  def CUF_DB_FETCH(self: Self, Pobj_Query: Any) -> Any: ...
@@ -54,4 +58,5 @@ __name__ = ...
54
58
  # Modules used internally, to allow implicit dependencies to be seen:
55
59
  import os
56
60
  import pymysql
61
+ import sshtunnel
57
62
  import ntpath
@@ -34,12 +34,24 @@ class CLASS_mySQLDBCtrl:
34
34
  CUms_Password: str
35
35
  CVmi_qryRECCNT: int
36
36
  CVmsa_DBCS: Incomplete
37
+ CUobj_SSH_Tunnel: Incomplete
38
+ CUms_SSH_Host: Incomplete
39
+ CUmi_SSH_Port: int
40
+ CUms_SSH_User: Incomplete
41
+ CUms_SSH_pKey: Incomplete
42
+ CUms_SSH_remoteHost: Incomplete
43
+ CUmi_SSH_remotePort: Incomplete
44
+ CUms_SSH_localHost: str
45
+ CUmi_SSH_localPort: Incomplete
37
46
  def __init__(self) -> None: ...
38
47
  def CUF_SET_Charset(self, PmE_DB_Charset) -> None: ...
48
+ def CUF_SSH_Open(self, Pms_ssh_host, Pms_ssh_port, Pms_ssh_username, Pms_ssh_pkey, Pms_remote_bind_address=('127.0.0.1', 3306), Pms_local_bind_address=('127.0.0.1', 3307)) -> None: ...
49
+ def CUF_SSH_Start(self) -> None: ...
39
50
  CUobj_Conn: Incomplete
40
51
  def CUF_OpenConnection_DBCS(self, Pms_DB_HostIP, Pmi_DB_Port, Pms_DB_Name, Pms_User, Pms_Password, PmE_DB_CHARSET): ...
41
52
  def CUF_OpenConnection(self, Pms_DB_HostIP, Pmi_DB_Port, Pms_DB_Name, Pms_User, Pms_Password): ...
42
53
  def CUF_DB_OpenConn(self, Pstru_mySQLDBInfo): ...
54
+ def CUF_OpenConnection_SSH(self, Pms_DB_Name, Pms_User, Pms_Password): ...
43
55
  def CUF_DB_OpenSQL(self, Pobj_Connection, Pms_SQL): ...
44
56
  def CUF_DB_OpenSQL_utf8(self, Pobj_Connection, Pms_SQL): ...
45
57
  def CUF_DB_FETCH(self, Pobj_Query): ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mySQLDBCtrlAPI
3
- Version: 1.2511.28
3
+ Version: 1.2512.101
4
4
  Summary: mySQLDBCtrlAPI Python package
5
5
  Author-email: James Lin <tylin123@ms27.hinet.net>
6
6
  License: Copyright (c) 2025 James Lin
@@ -34,6 +34,10 @@ Dynamic: license-file
34
34
  #mySQLDBCtrlAPI
35
35
 
36
36
  ## History of version
37
+ Version 1.2512.0101: 2025/12/01<BR>
38
+ Fixed error CUF_GetServerDateTime(...) when error on fetch data from dataset
39
+
40
+
37
41
  Version 1.2511.28: 2025/11/28<BR>
38
42
  Fixed error CUF_GET_Blob(...) will disturbe cursor position.
39
43