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.9.0-cp37-abi3-win_amd64.whl (4.2 MB view details)

Uploaded CPython 3.7+Windows x86-64

databend_driver-0.9.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view details)

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

databend_driver-0.9.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.0 MB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

databend_driver-0.9.0-cp37-abi3-macosx_11_0_arm64.whl (4.0 MB view details)

Uploaded CPython 3.7+macOS 11.0+ ARM64

databend_driver-0.9.0-cp37-abi3-macosx_10_7_x86_64.whl (4.3 MB view details)

Uploaded CPython 3.7+macOS 10.7+ x86-64

File details

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

File metadata

File hashes

Hashes for databend_driver-0.9.0-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f78719ccac71f1c6634830e7c0889c4070f57cc11b8b852f060cbad29f6b5a32
MD5 9348288d6dcab57011509c2fd62d71d8
BLAKE2b-256 5044a3d380211cbe00472ff8a1fa2b4ef93ad06012f92f06ba7a7a62cf86e8ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for databend_driver-0.9.0-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e2d25eb3e5ebe246f9afe79660ca10e62d4e5a08327f099ff4cdd950506810d5
MD5 10e6472517ee0da5abd7ba8339710326
BLAKE2b-256 31d6fa4c90d5d242fc254bb05ef937af4b6b112b9b7c5222e88daa73b11bb18e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for databend_driver-0.9.0-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 4905261cb9aeb5ba5408ca8eb0cc33e8cba6ead0ecafe798ff07ff2cc3dbaebe
MD5 e88b0746c328123b29b2afa198793014
BLAKE2b-256 df8792e329a4264fd3d2950240de6c6283f8fe3216518b35c5b1bd08ef546225

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for databend_driver-0.9.0-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a95c1e291dbeb42406302587de204c025e49f6cc183ffce593be6458e0aacc25
MD5 40edbdb36d2e018f1caf405c8543dfcf
BLAKE2b-256 f78cb3ccd8f6a7be77eb43f3e36191941cdaf71c24f5404b92c6da2765c12c10

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for databend_driver-0.9.0-cp37-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 224b652164ca1a7d17478f7ab97441ae1d97fd1ae9e54ef934767a9b3017415e
MD5 7aebff8d4525e2e1f0ab790318dc2ee4
BLAKE2b-256 0e3f793f15a7bd45a6ee18428c178752a0f81d71919283e7e8ece716c7400054

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