Skip to main content

Databend Driver Python Binding

Project description



cd bindings/python
maturin develop


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)")


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

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

databend_driver-0.9.1-cp37-abi3-win_amd64.whl (4.2 MB view hashes)

Uploaded CPython 3.7+ Windows x86-64

databend_driver-0.9.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.4 MB view hashes)

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

databend_driver-0.9.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (4.0 MB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

databend_driver-0.9.1-cp37-abi3-macosx_11_0_arm64.whl (4.0 MB view hashes)

Uploaded CPython 3.7+ macOS 11.0+ ARM64

databend_driver-0.9.1-cp37-abi3-macosx_10_7_x86_64.whl (4.3 MB view hashes)

Uploaded CPython 3.7+ macOS 10.7+ x86-64

Supported by

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