databend-driver 0.25.0__cp37-abi3-macosx_10_12_x86_64.whl → 0.25.1__cp37-abi3-macosx_10_12_x86_64.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.
- databend_driver/_databend_driver.abi3.so +0 -0
- {databend_driver-0.25.0.dist-info → databend_driver-0.25.1.dist-info}/METADATA +6 -12
- databend_driver-0.25.1.dist-info/RECORD +6 -0
- databend_driver-0.25.0.dist-info/RECORD +0 -6
- {databend_driver-0.25.0.dist-info → databend_driver-0.25.1.dist-info}/WHEEL +0 -0
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: databend-driver
|
|
3
|
-
Version: 0.25.
|
|
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
|
|
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=pd36yosr-z81ofmigJZ9wRSnZA4ydK0f06KzFCUA300,104
|
|
3
|
+
databend_driver/__init__.pyi,sha256=O4kAHPNAc6FIHI2yeb8sxlxpdbGfkoeYjSzH8YMpJgU,2602
|
|
4
|
+
databend_driver/__init__.py,sha256=sNam6xQNlyVYUm7qBdX4cDxsxlgHgr3zYavOp8uielw,626
|
|
5
|
+
databend_driver/_databend_driver.abi3.so,sha256=ESuSd5WCyUcckheqmsG0GoF66vxaWxdTJ-nNzUVVZMw,16557112
|
|
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=pd36yosr-z81ofmigJZ9wRSnZA4ydK0f06KzFCUA300,104
|
|
3
|
-
databend_driver/__init__.pyi,sha256=O4kAHPNAc6FIHI2yeb8sxlxpdbGfkoeYjSzH8YMpJgU,2602
|
|
4
|
-
databend_driver/__init__.py,sha256=sNam6xQNlyVYUm7qBdX4cDxsxlgHgr3zYavOp8uielw,626
|
|
5
|
-
databend_driver/_databend_driver.abi3.so,sha256=fX5n66PU9KeKMprSOzqQPvoVC8Exykm_B6nhlhBmZXU,17015016
|
|
6
|
-
databend_driver-0.25.0.dist-info/RECORD,,
|
|
File without changes
|