Skip to main content

YugabyteDB dialect for SQLAlchemy

Project description

YugabyteDB dialect for SQLAlchemy

Prerequisites

For psycopg2 support you must install either:

(The binary package is a practical choice for development and testing but in production it is advised to use the package built from sources.)

Install and usage

Use pip to install the latest version. Clone the repository and run the following command:

pip install .

Use a Yugabytedb connection string when creating the Engine. For example, to connect to a local YugabyteDB cluster using psycopg2:

from sqlalchemy import create_engine
engine = create_engine('yugabytedb://yugabyte@localhost:5433/yugabyte')

or

from sqlalchemy import create_engine
engine = create_engine('yugabytedb+psycopg2://yugabyte@localhost:5433/yugabyte')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sqlalchemy-yugabytedb-1.0.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

sqlalchemy_yugabytedb-1.0.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file sqlalchemy-yugabytedb-1.0.0.1.tar.gz.

File metadata

File hashes

Hashes for sqlalchemy-yugabytedb-1.0.0.1.tar.gz
Algorithm Hash digest
SHA256 f7a694391bcaecdebbb7debf6831af60057a7299933915cc2db29550bd35bad2
MD5 44774a6cc1cf2949f0adfa28737196ce
BLAKE2b-256 7521b4ca42f0e23d14e8e9e02640f5960a1faf8f35e13c060df000b1f84e014d

See more details on using hashes here.

File details

Details for the file sqlalchemy_yugabytedb-1.0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sqlalchemy_yugabytedb-1.0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 947ec3049b35887a0f413a1b41aaddfa62592c9ca3ebffc98edc0646d40d5010
MD5 38d5611cd920866cd9504c9400a8ecf7
BLAKE2b-256 358367a6208e5627efce289d32286a79c2cf517702af95e655bb0c2d7165760c

See more details on using hashes here.

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