RisingWave dialect for SQLAlchemy
Project description
RisingWave dialect for SQLAlchemy
Prerequisites
For psycopg2 support 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
Now the sqlalchemy-risingwave do not published to PyPi, so install this packages locally.
python setup.py sdist bdist_wheel # generate dist
pip install -e . # install this package
As in demo.py, use a risingwave
connection string when creating the Engine
.
./risedev p # start local risingwave cluster listening at 4566.
python demo.py # connect to risedev use sqlalchemy
sqlalchemy-risingwave
will work like a plugin to be placed into runtime sqlalchemy lib, so that we can overrides some code path to change the behaviour to better fits these python clients with RisingWave.
Ref
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
Hashes for sqlalchemy-risingwave-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e58a49d600453bb5cb0b27d7e0235e527d1199848c0f20d3c3f2dca59f128b1a |
|
MD5 | 84114e533488ef1d856010b6f4cb6eee |
|
BLAKE2b-256 | ed9e7691f772998f5cb1c6a18bdbc241094df66523d1e0aaa70ab0feace049e0 |
Hashes for sqlalchemy_risingwave-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d78cf5989548fa6f0044d998cf103576010ffce172a0d3fca658f8a4d9d1f842 |
|
MD5 | b8188fd9319ffced9281bb29ead3328d |
|
BLAKE2b-256 | 24ab3879536154590d2d6b6f3169b5ea1209d0fcadb55cb91853106a4ea5eb21 |