databend-driver 0.25.1__cp37-abi3-manylinux_2_28_aarch64.whl → 0.25.4__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,19 +1,42 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: databend-driver
3
- Version: 0.25.1
3
+ Version: 0.25.4
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
7
+ Classifier: Programming Language :: Python :: 3.8
8
+ Classifier: Programming Language :: Python :: 3.9
9
+ Classifier: Programming Language :: Python :: 3.10
10
+ Classifier: Programming Language :: Python :: 3.11
11
+ Classifier: Programming Language :: Python :: 3.12
12
+ Classifier: Programming Language :: Python :: 3.13
13
+ Classifier: License :: OSI Approved :: Apache Software License
14
+ Classifier: Operating System :: POSIX
15
+ Classifier: Operating System :: MacOS
16
+ Classifier: Operating System :: Microsoft :: Windows
17
+ Classifier: Operating System :: Unix
18
+ Classifier: Topic :: Database
19
+ Classifier: Topic :: Software Development
20
+ Classifier: Topic :: Software Development :: Libraries
21
+ Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
22
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
23
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
7
24
  Summary: Databend Driver Python Binding
8
25
  Author: Databend Authors <opensource@databend.com>
9
26
  Author-email: Databend Authors <opensource@databend.com>
10
27
  License: Apache-2.0
11
- Requires-Python: >=3.7, <3.14
28
+ Requires-Python: >=3.8, <3.14
12
29
  Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
13
30
  Project-URL: Repository, https://github.com/databendlabs/bendsql
14
31
 
15
32
  # databend-driver
16
33
 
34
+ Databend Python Client
35
+
36
+ [![image](https://img.shields.io/pypi/v/databend-driver.svg)](https://pypi.org/project/databend-driver)
37
+ ![License](https://img.shields.io/pypi/l/databend-driver.svg)
38
+ [![image](https://img.shields.io/pypi/pyversions/databend-driver.svg)](https://pypi.org/project/databend-driver)
39
+
17
40
  ## Usage
18
41
 
19
42
  ### PEP 249 Cursor Object
@@ -197,12 +220,21 @@ class BlockingDatabendConnection:
197
220
 
198
221
  ```python
199
222
  class BlockingDatabendCursor:
223
+ @property
224
+ def description(self) -> list[tuple[str, str, int | None, int | None, int | None, int | None, bool | None]] | None: ...
225
+ @property
226
+ def rowcount(self) -> int: ...
200
227
  def close(self) -> None: ...
201
228
  def execute(self, operation: str, params: list[string] | tuple[string] = None) -> None | int: ...
202
229
  def executemany(self, operation: str, params: list[list[string] | tuple[string]]) -> None | int: ...
203
- def fetchone(self) -> Row: ...
230
+ def fetchone(self) -> Row | None: ...
204
231
  def fetchmany(self, size: int = 1) -> list[Row]: ...
205
232
  def fetchall(self) -> list[Row]: ...
233
+
234
+ # Optional DB API Extensions
235
+ def next(self) -> Row: ...
236
+ def __next__(self) -> Row: ...
237
+ def __iter__(self) -> Self: ...
206
238
  ```
207
239
 
208
240
  ### Row
@@ -211,7 +243,8 @@ class BlockingDatabendCursor:
211
243
  class Row:
212
244
  def values(self) -> tuple: ...
213
245
  def __len__(self) -> int: ...
214
- def __iter__(self) -> list: ...
246
+ def __iter__(self) -> Self: ...
247
+ def __next__(self) -> Value: ...
215
248
  def __dict__(self) -> dict: ...
216
249
  def __getitem__(self, key: int | str) -> any: ...
217
250
  ```
@@ -0,0 +1,6 @@
1
+ databend_driver-0.25.4.dist-info/METADATA,sha256=hyI-aVoUfKMGFg_eYtfFp2Ap_Ucz3G_kYgwfog5D57M,8705
2
+ databend_driver-0.25.4.dist-info/WHEEL,sha256=rZtu3Yho_XsPjnJWH5t8b8HP2LkLyT3py7wnmR5UdP4,107
3
+ databend_driver/__init__.py,sha256=sNam6xQNlyVYUm7qBdX4cDxsxlgHgr3zYavOp8uielw,626
4
+ databend_driver/__init__.pyi,sha256=O4kAHPNAc6FIHI2yeb8sxlxpdbGfkoeYjSzH8YMpJgU,2602
5
+ databend_driver/_databend_driver.abi3.so,sha256=4heTk5SGrEhssQ1Z_QUiV8qh9QeXrepbKptix6Qfwcc,18113464
6
+ databend_driver-0.25.4.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- databend_driver-0.25.1.dist-info/METADATA,sha256=pL45zeA_bbG1YanjuUrWvRYR5aGsWRLQE4RxciHyMkg,7152
2
- databend_driver-0.25.1.dist-info/WHEEL,sha256=rZtu3Yho_XsPjnJWH5t8b8HP2LkLyT3py7wnmR5UdP4,107
3
- databend_driver/__init__.py,sha256=sNam6xQNlyVYUm7qBdX4cDxsxlgHgr3zYavOp8uielw,626
4
- databend_driver/__init__.pyi,sha256=O4kAHPNAc6FIHI2yeb8sxlxpdbGfkoeYjSzH8YMpJgU,2602
5
- databend_driver/_databend_driver.abi3.so,sha256=8OLWzYpIgyLjC3UO6W4Nl2dH24ZLeJFfnR1DHat6hak,18072848
6
- databend_driver-0.25.1.dist-info/RECORD,,