Skip to main content

Databend dialect for SQLAlchemy.

Project description

Databend dialect for SQLAlchemy.

Installation

The package is installable through PIP:

pip install databend-sqlalchemy

Usage

The DSN format is similar to that of regular Postgres:

import connector
cursor = connector.connect('http://root:@localhost:8081').cursor()
cursor.execute('SELECT * FROM test')
# print(cursor.fetchone())
# print(cursor.fetchall())
for i in cursor.next():
    print(i)

Compatibility

If databend version >= v0.9.0 or later, you need to use databend-sqlalchemy version >= v0.1.0.

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 Distribution

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

databend_sqlalchemy-0.1.2-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file databend_sqlalchemy-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for databend_sqlalchemy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 443642445b5952f68a373381b6396d2872319c0a9d22605c90d83261cd0b9c57
MD5 cec3e0de5cf8b1baae6bc43a1610fc08
BLAKE2b-256 894eb15f9b8bf823fec7e32190fce4e4db7c6c2a129714cf9c2d7e71bd917f5e

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