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.3-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for databend_sqlalchemy-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6a80303bf8f3061b51b80de9d01df3faef47b03285490799905674e3ba97f129
MD5 9846a0d45bfd244312031892c9808d28
BLAKE2b-256 583c19d5810ec441b9e476f23dee2ef72a77f1356e5e84a21e3f73ea3130d36c

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