Skip to main content

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

If you're not sure about the file name format, learn more about wheel file names.

databend_driver-0.8.2-cp37-abi3-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.7+Windows x86-64

databend_driver-0.8.2-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ x86-64

databend_driver-0.8.2-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.2 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

databend_driver-0.8.2-cp37-abi3-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.7+macOS 11.0+ ARM64

databend_driver-0.8.2-cp37-abi3-macosx_10_7_x86_64.whl (3.3 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

Details for the file databend_driver-0.8.2-cp37-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for databend_driver-0.8.2-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 dffbe1d4aa8f9752922226b5c5d02cd6f82afba666a917baeb1ff55856f457b1
MD5 45bbd734dc32458b4a104a8a46e2f199
BLAKE2b-256 8e1ad6a2e556561dd8eec68dde5c16f1da6e3ddaaae9e5d7e8a0d3e3c7809619

See more details on using hashes here.

File details

Details for the file databend_driver-0.8.2-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for databend_driver-0.8.2-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fae981eb0df65d8e49bbc69276ab780a01e4680d38e405531225da0601c53609
MD5 b47c1323248aa54f47a2de28b8147369
BLAKE2b-256 a6f8753a28e9cb5124cbcfd484f6c3d3176a0acf1cff27d6359418e26d1b87ba

See more details on using hashes here.

File details

Details for the file databend_driver-0.8.2-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for databend_driver-0.8.2-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 08a06b2547610f007e4cd849930be9c6223ce4d319316649b201cc6479065c19
MD5 4e76fe1ea4d15ef1629f42e35771f04e
BLAKE2b-256 0dcc5b3c9d64dd9967df83a5fe7165ea882cf9b6e878a49f3de6f3623928d5aa

See more details on using hashes here.

File details

Details for the file databend_driver-0.8.2-cp37-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for databend_driver-0.8.2-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6849f32ba166fbf7e637086287dc22e6eba194bc8ff4aeb3355447a35ce13501
MD5 6b4099f6851b3d6ded79b2c3f10552ec
BLAKE2b-256 45727c1148b806c4eaba65399f1b0c6889694d362e103a11f93424dad516e675

See more details on using hashes here.

File details

Details for the file databend_driver-0.8.2-cp37-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for databend_driver-0.8.2-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 841600de02497a821fc6478e88796f2c0876beca32f04acc034a46f030205af8
MD5 256df3fef82d2261b15fa67f1298f968
BLAKE2b-256 5aa292ace0e2c91af6695759b0a6777d003361b9df5f2da33d0841751bc5d8ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page