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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for databend_driver-0.8.0-cp37-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92474539c51c046bf24d679d4773222cedbd26b11260871b63ae84e65d4a3aad |
|
MD5 | 2db63906089d7ee18fbff0ac8601080f |
|
BLAKE2b-256 | d1b6cf6f4b3ea94398b0d83900fce230fc5c312e492ca83ba46b8614c60332c5 |
Close
Hashes for databend_driver-0.8.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a1dabb705a56eb53fd786e972b00d5e78b0c891effe7957354afbfeb1a40a5a |
|
MD5 | 50fb86438d111e02adaa91de1d36a39e |
|
BLAKE2b-256 | 056cab9a17f18e10b4e9bacd92af42d97d48ff919d4363a5ddece9ce2b394630 |
Close
Hashes for databend_driver-0.8.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ece454e9b8d50f261f79fa6fe31da24fb66c07d0885d1188d01f1bbb6f81db4f |
|
MD5 | eead89773bb2e33b07df3def0c8ac94c |
|
BLAKE2b-256 | 738dd51f2ac9002fb054a112a6d896643cbe28eaf0bb2b2f0473a41542a2e130 |
Close
Hashes for databend_driver-0.8.0-cp37-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35a0b41860e284a7bdde33b4a5fef5e229b8cf9e5d263f7d5fd9cfc7600dc28c |
|
MD5 | ffd4594218e60981c7e0b33f457a0dd4 |
|
BLAKE2b-256 | 1c2df1d8523e28ff060209b50878c0a00133bdb0b835cfc846cca33ac71cc55e |
Close
Hashes for databend_driver-0.8.0-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98e63b2d719fde943c9598f5a39197b2f90fdde9c6e0a6ab8a449eea269e4c14 |
|
MD5 | d188b7e04254b34ec1bf493398d5ceb1 |
|
BLAKE2b-256 | cd50f3dce1acd68453cca9d33362c9a6a86710743c7a4ddf6232e67885db7887 |