databend-driver 0.27.5__cp37-abi3-manylinux_2_28_aarch64.whl → 0.28.0__cp37-abi3-manylinux_2_28_aarch64.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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: databend-driver
3
- Version: 0.27.5
3
+ Version: 0.28.0
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -22,8 +22,6 @@ Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
22
22
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
23
  Classifier: Topic :: Scientific/Engineering :: Information Analysis
24
24
  Summary: Databend Driver Python Binding
25
- Author: Databend Authors <opensource@databend.com>
26
- Author-email: Databend Authors <opensource@databend.com>
27
25
  License: Apache-2.0
28
26
  Requires-Python: >=3.8, <3.14
29
27
  Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
@@ -65,6 +63,7 @@ cursor.execute("SELECT * FROM test")
65
63
  rows = cursor.fetchall()
66
64
  for row in rows:
67
65
  print(row.values())
66
+ cursor.close()
68
67
  ```
69
68
 
70
69
  ### Blocking Connection Object
@@ -90,6 +89,7 @@ conn.exec(
90
89
  rows = conn.query_iter("SELECT * FROM test")
91
90
  for row in rows:
92
91
  print(row.values())
92
+ conn.close()
93
93
  ```
94
94
 
95
95
  ### Asyncio Connection Object
@@ -117,6 +117,7 @@ async def main():
117
117
  rows = await conn.query_iter("SELECT * FROM test")
118
118
  async for row in rows:
119
119
  print(row.values())
120
+ await conn.close()
120
121
 
121
122
  asyncio.run(main())
122
123
  ```
@@ -201,6 +202,7 @@ class AsyncDatabendClient:
201
202
  class AsyncDatabendConnection:
202
203
  async def info(self) -> ConnectionInfo: ...
203
204
  async def version(self) -> str: ...
205
+ async def close(self) -> None: ...
204
206
  async def exec(self, sql: str, params: list[string] | tuple[string] | any = None) -> int: ...
205
207
  async def query_row(self, sql: str, params: list[string] | tuple[string] | any = None) -> Row: ...
206
208
  async def query_iter(self, sql: str, params: list[string] | tuple[string] | any = None) -> RowIterator: ...
@@ -223,6 +225,7 @@ class BlockingDatabendClient:
223
225
  class BlockingDatabendConnection:
224
226
  def info(self) -> ConnectionInfo: ...
225
227
  def version(self) -> str: ...
228
+ def close(self) -> None: ...
226
229
  def exec(self, sql: str, params: list[string] | tuple[string] | any = None) -> int: ...
227
230
  def query_row(self, sql: str, params: list[string] | tuple[string] | any = None) -> Row: ...
228
231
  def query_iter(self, sql: str, params: list[string] | tuple[string] | any = None) -> RowIterator: ...
@@ -0,0 +1,6 @@
1
+ databend_driver-0.28.0.dist-info/METADATA,sha256=Ft1zOkdGMBpYMh-wvZZavqP1im27sjAD13iP3Uk1VdA,9507
2
+ databend_driver-0.28.0.dist-info/WHEEL,sha256=P4-jD1rNEMCSIc1WCadwh4AGhqhVaQZcMgM-PU-BlSU,107
3
+ databend_driver/__init__.py,sha256=sNam6xQNlyVYUm7qBdX4cDxsxlgHgr3zYavOp8uielw,626
4
+ databend_driver/__init__.pyi,sha256=14ys4K9rDVX-eRUcwcpYB9qi8hCoERQNoaAJf1SLg80,3976
5
+ databend_driver/_databend_driver.abi3.so,sha256=fKJakagtYWOaKnwYH51P8uGtXsiExudf302N7kVy0M0,16673888
6
+ databend_driver-0.28.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.8.7)
2
+ Generator: maturin (1.9.2)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp37-abi3-manylinux_2_28_aarch64
@@ -1,6 +0,0 @@
1
- databend_driver-0.27.5.dist-info/METADATA,sha256=HwedG-Noy0mrhWuXSMnDBiFUI72X1L0AXvNQiKrEc4c,9492
2
- databend_driver-0.27.5.dist-info/WHEEL,sha256=tmz3tbwFOjEFOcAHn8QpNuQb1P9UD137FiPJC0pMbbI,107
3
- databend_driver/__init__.py,sha256=sNam6xQNlyVYUm7qBdX4cDxsxlgHgr3zYavOp8uielw,626
4
- databend_driver/__init__.pyi,sha256=14ys4K9rDVX-eRUcwcpYB9qi8hCoERQNoaAJf1SLg80,3976
5
- databend_driver/_databend_driver.abi3.so,sha256=5WewX22NbBaRPygugdgqv652jvwF_AIFuIQC95xUyXY,16170056
6
- databend_driver-0.27.5.dist-info/RECORD,,