Skip to main content

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

Release files for sqlalchemy-yugabytedb 1.0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sqlalchemy-yugabytedb 1.0.0.1
File Size Uploaded
sqlalchemy-yugabytedb-1.0.0.1.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sqlalchemy-yugabytedb 1.0.0.1
File Interpreter ABI Platform
sqlalchemy_yugabytedb-1.0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / sqlalchemy-yugabytedb-1.0.0.1.tar.gz

Download URL sqlalchemy-yugabytedb-1.0.0.1.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f7a694391bcaecdebbb7debf6831af60057a7299933915cc2db29550bd35bad2
BLAKE2b-256 checksum
How to use checksums
7521b4ca42f0e23d14e8e9e02640f5960a1faf8f35e13c060df000b1f84e014d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.3

Release files / sqlalchemy_yugabytedb-1.0.0.1-py3-none-any.whl

Download URL sqlalchemy_yugabytedb-1.0.0.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
947ec3049b35887a0f413a1b41aaddfa62592c9ca3ebffc98edc0646d40d5010
BLAKE2b-256 checksum
How to use checksums
358367a6208e5627efce289d32286a79c2cf517702af95e655bb0c2d7165760c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page