CockroachDB adapter 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
Close
Hashes for sqlalchemy-cockroachdb-1.3.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f11d151f3a4f6798cd0e0da50e9c5fa7c1597195d08fd1eba93308ed5fa0cae |
|
MD5 | 1d51a89e1f01b2f09b50fc04e2924844 |
|
BLAKE2b-256 | fe5713bb1ce751bc29b3b9a1b5ab0df74b4031b4c3cd84322ac8d2d23aec243a |
Close
Hashes for sqlalchemy_cockroachdb-1.3.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78a3e898002ca7b307ec34633c925dd0e28bf4fc246713848069822d88c4f5c8 |
|
MD5 | 714e12430cbfc127f643a4a629281863 |
|
BLAKE2b-256 | 3fc04b07f83feec6a7ea9005380668edfc26b06d50097bfbd15a2374028d1da4 |