databend-driver 0.25.0__cp37-abi3-manylinux_2_28_aarch64.whl → 0.25.1__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.25.0
3
+ Version: 0.25.1
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -14,16 +14,9 @@ Project-URL: Repository, https://github.com/databendlabs/bendsql
14
14
 
15
15
  # databend-driver
16
16
 
17
- ## Build
18
-
19
- ```shell
20
- cd bindings/python
21
- maturin develop
22
- ```
23
-
24
17
  ## Usage
25
18
 
26
- ### PEP 249 cursor object
19
+ ### PEP 249 Cursor Object
27
20
 
28
21
  ```python
29
22
  from databend_driver import BlockingDatabendClient
@@ -51,7 +44,7 @@ for row in rows:
51
44
  print(row.values())
52
45
  ```
53
46
 
54
- ### Blocking
47
+ ### Blocking Connection Object
55
48
 
56
49
  ```python
57
50
  from databend_driver import BlockingDatabendClient
@@ -76,7 +69,7 @@ for row in rows:
76
69
  print(row.values())
77
70
  ```
78
71
 
79
- ### Asyncio
72
+ ### Asyncio Connection Object
80
73
 
81
74
  ```python
82
75
  import asyncio
@@ -112,7 +105,7 @@ asyncio.run(main())
112
105
  ### General Data Types
113
106
 
114
107
  | Databend | Python |
115
- |-------------|----------------------|
108
+ | ----------- | -------------------- |
116
109
  | `BOOLEAN` | `bool` |
117
110
  | `TINYINT` | `int` |
118
111
  | `SMALLINT` | `int` |
@@ -208,6 +201,7 @@ class BlockingDatabendCursor:
208
201
  def execute(self, operation: str, params: list[string] | tuple[string] = None) -> None | int: ...
209
202
  def executemany(self, operation: str, params: list[list[string] | tuple[string]]) -> None | int: ...
210
203
  def fetchone(self) -> Row: ...
204
+ def fetchmany(self, size: int = 1) -> list[Row]: ...
211
205
  def fetchall(self) -> list[Row]: ...
212
206
  ```
213
207
 
@@ -0,0 +1,6 @@
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,,
@@ -1,6 +0,0 @@
1
- databend_driver-0.25.0.dist-info/METADATA,sha256=5UNfNB5jz0jkJRAdUxXvWbeQurtnQjFOy72bAvm3utw,7118
2
- databend_driver-0.25.0.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=NRH0lvmbn7hi03swhsEgVkmvIAmyPQjI33-mvsTag-E,17816632
6
- databend_driver-0.25.0.dist-info/RECORD,,