Python driver with native interface for Databend
Project description
databend-py
Databend Cloud Python Driver with native http interface support
Installation
pip install databend-py
Usage
Pure Client example:
>>> from databend_pyimport Client >>> >>> client = Client('http://root:rootlocalhost:8081/db') >>> >>> client.execute('SHOW TABLES') [('test',)] >>> client.execute('DROP TABLE IF EXISTS test') [] >>> client.execute('CREATE TABLE test (x Int32)') [] >>> client.execute( ... 'INSERT INTO test (x) VALUES', [(1,)] ... ) 1 >>> client.execute('INSERT INTO test (x) VALUES', [(200,)]) 1
Features
Basic SQL.
TLS support.
Query settings.
Types support:
Float32/64
[U]Int8/16/32/64/128/256
Date/Date32/DateTime(‘timezone’)/DateTime64(‘timezone’)
String
Array(T)
Nullable(T)
Bool
Documentation
// TODO
License
Databend Python Driver is distributed under the Apache license.
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 Distribution
Close
Hashes for databend_py-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88af84f0feeae4be1f175b53ca386f8b08d89b48237d205e85ac874f894d9cfa |
|
MD5 | e6d89c99a400f6bff2a6ad62ec0ad6d2 |
|
BLAKE2b-256 | 1c7daf327744a26857db5185fe0ea0c047803ca8ecce7705a2ed5510e6c0edde |