CockroachDB dialect for SQLAlchemy
Project description
CockroachDB dialect for SQLAlchemy
Prerequisites
You must install either:
-
psycopg2, which has some prerequisites of its own.
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.
pip install sqlalchemy-cockroachdb
Use a cockroachdb
connection string when creating the Engine
. For example,
to connect to an insecure, local CockroachDB cluster:
from sqlalchemy import create_engine
engine = create_engine('cockroachdb://root@localhost:26257/defaultdb?sslmode=disable')
Changelog
See CHANGES.md
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 Distribution
Built Distribution
File details
Details for the file sqlalchemy-cockroachdb-1.4.0.tar.gz
.
File metadata
- Download URL: sqlalchemy-cockroachdb-1.4.0.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2282b9980c55aaf4cf01c8056c2c14fe902b65fb409295bb791948484635adac |
|
MD5 | 4e0f60d9b9c78b6d1e81d91df943df61 |
|
BLAKE2b-256 | 635120ab42e880bb806754cd88b72cc7586a5ebef15ccf90fb60a37b609db620 |
File details
Details for the file sqlalchemy_cockroachdb-1.4.0-py3-none-any.whl
.
File metadata
- Download URL: sqlalchemy_cockroachdb-1.4.0-py3-none-any.whl
- Upload date:
- Size: 30.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b71cb3c8e8f2a0dfa4edcd4739bef5e3ae1516f3f72c5244aa063729af98da5 |
|
MD5 | 56a8369deca2e1dac67f097247d06010 |
|
BLAKE2b-256 | 4d2626b2787d2cca00433f7175d892850e85977749f919979b8631d95ca16d92 |