databend-driver 0.24.8__cp37-abi3-win_amd64.whl → 0.25.1__cp37-abi3-win_amd64.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.24.8
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
@@ -111,20 +104,21 @@ asyncio.run(main())
111
104
 
112
105
  ### General Data Types
113
106
 
114
- | Databend | Python |
115
- | ----------- | ------------------- |
116
- | `BOOLEAN` | `bool` |
117
- | `TINYINT` | `int` |
118
- | `SMALLINT` | `int` |
119
- | `INT` | `int` |
120
- | `BIGINT` | `int` |
121
- | `FLOAT` | `float` |
122
- | `DOUBLE` | `float` |
123
- | `DECIMAL` | `decimal.Decimal` |
124
- | `DATE` | `datetime.date` |
125
- | `TIMESTAMP` | `datetime.datetime` |
126
- | `VARCHAR` | `str` |
127
- | `BINARY` | `bytes` |
107
+ | Databend | Python |
108
+ | ----------- | -------------------- |
109
+ | `BOOLEAN` | `bool` |
110
+ | `TINYINT` | `int` |
111
+ | `SMALLINT` | `int` |
112
+ | `INT` | `int` |
113
+ | `BIGINT` | `int` |
114
+ | `FLOAT` | `float` |
115
+ | `DOUBLE` | `float` |
116
+ | `DECIMAL` | `decimal.Decimal` |
117
+ | `DATE` | `datetime.date` |
118
+ | `TIMESTAMP` | `datetime.datetime` |
119
+ | `INTERVAL` | `datetime.timedelta` |
120
+ | `VARCHAR` | `str` |
121
+ | `BINARY` | `bytes` |
128
122
 
129
123
  ### Semi-Structured Data Types
130
124
 
@@ -207,6 +201,7 @@ class BlockingDatabendCursor:
207
201
  def execute(self, operation: str, params: list[string] | tuple[string] = None) -> None | int: ...
208
202
  def executemany(self, operation: str, params: list[list[string] | tuple[string]]) -> None | int: ...
209
203
  def fetchone(self) -> Row: ...
204
+ def fetchmany(self, size: int = 1) -> list[Row]: ...
210
205
  def fetchall(self) -> list[Row]: ...
211
206
  ```
212
207
 
@@ -0,0 +1,6 @@
1
+ databend_driver-0.25.1.dist-info/METADATA,sha256=VajL_4HpymQ2F0NaGh32uxDUnw5GVfToqsSwnLnMNJE,7441
2
+ databend_driver-0.25.1.dist-info/WHEEL,sha256=mKatg1BdVgOgo_zJHfUD69qSJcQ17s4R8S-OdbXOXhs,94
3
+ databend_driver/__init__.py,sha256=qExbhG5p25LdxlZ4IcoSt2As42vHY0r3JVQ_3GSylXc,643
4
+ databend_driver/__init__.pyi,sha256=-UF5o6ANBK-J7zMX0q32EvNy9U_xDr0MG9DH6LKppwc,2688
5
+ databend_driver/_databend_driver.pyd,sha256=3HWPlVpMePPBrfhXY0KWYKbsTc4HHb_-RHj8mrwl6-4,15696896
6
+ databend_driver-0.25.1.dist-info/RECORD,,
@@ -1,6 +0,0 @@
1
- databend_driver-0.24.8.dist-info/METADATA,sha256=HU9kP38Eq9EJNDvn_CY6R-5qoJcq6FACQ2km6QPA18c,7359
2
- databend_driver-0.24.8.dist-info/WHEEL,sha256=mKatg1BdVgOgo_zJHfUD69qSJcQ17s4R8S-OdbXOXhs,94
3
- databend_driver/__init__.py,sha256=qExbhG5p25LdxlZ4IcoSt2As42vHY0r3JVQ_3GSylXc,643
4
- databend_driver/__init__.pyi,sha256=-UF5o6ANBK-J7zMX0q32EvNy9U_xDr0MG9DH6LKppwc,2688
5
- databend_driver/_databend_driver.pyd,sha256=rrma1IytUqAR6vNNKsfwm9oymIa08hXMvW3UAbbY3G4,15865344
6
- databend_driver-0.24.8.dist-info/RECORD,,