Databend Driver Python Binding
Project description
databend-driver
Build
cd bindings/python
maturin develop
Usage
import databend_driver
import asyncio
async def main():
s = databend_driver.AsyncDatabendDriver('databend+http://root:root@localhost:8000/?sslmode=disable')
await s.exec("CREATE TABLE if not exists test_upload (x Int32,y VARCHAR)")
asyncio.run(main())
Development
Setup virtualenv:
python -m venv venv
Activate venv:
source venv/bin/activate
Install maturin:
pip install maturin[patchelf]
Build bindings:
maturin develop
Run some tests:
maturin develop -E test
behave tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file databend_driver-0.8.2-cp37-abi3-win_amd64.whl.
File metadata
- Download URL: databend_driver-0.8.2-cp37-abi3-win_amd64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.7+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dffbe1d4aa8f9752922226b5c5d02cd6f82afba666a917baeb1ff55856f457b1
|
|
| MD5 |
45bbd734dc32458b4a104a8a46e2f199
|
|
| BLAKE2b-256 |
8e1ad6a2e556561dd8eec68dde5c16f1da6e3ddaaae9e5d7e8a0d3e3c7809619
|
File details
Details for the file databend_driver-0.8.2-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: databend_driver-0.8.2-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fae981eb0df65d8e49bbc69276ab780a01e4680d38e405531225da0601c53609
|
|
| MD5 |
b47c1323248aa54f47a2de28b8147369
|
|
| BLAKE2b-256 |
a6f8753a28e9cb5124cbcfd484f6c3d3176a0acf1cff27d6359418e26d1b87ba
|
File details
Details for the file databend_driver-0.8.2-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: databend_driver-0.8.2-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.7+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08a06b2547610f007e4cd849930be9c6223ce4d319316649b201cc6479065c19
|
|
| MD5 |
4e76fe1ea4d15ef1629f42e35771f04e
|
|
| BLAKE2b-256 |
0dcc5b3c9d64dd9967df83a5fe7165ea882cf9b6e878a49f3de6f3623928d5aa
|
File details
Details for the file databend_driver-0.8.2-cp37-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: databend_driver-0.8.2-cp37-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.2 MB
- Tags: CPython 3.7+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6849f32ba166fbf7e637086287dc22e6eba194bc8ff4aeb3355447a35ce13501
|
|
| MD5 |
6b4099f6851b3d6ded79b2c3f10552ec
|
|
| BLAKE2b-256 |
45727c1148b806c4eaba65399f1b0c6889694d362e103a11f93424dad516e675
|
File details
Details for the file databend_driver-0.8.2-cp37-abi3-macosx_10_7_x86_64.whl.
File metadata
- Download URL: databend_driver-0.8.2-cp37-abi3-macosx_10_7_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: CPython 3.7+, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
841600de02497a821fc6478e88796f2c0876beca32f04acc034a46f030205af8
|
|
| MD5 |
256df3fef82d2261b15fa67f1298f968
|
|
| BLAKE2b-256 |
5aa292ace0e2c91af6695759b0a6777d003361b9df5f2da33d0841751bc5d8ff
|