Skip to main content

RisingWave dialect for SQLAlchemy

Project description

RisingWave 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

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

Sqlalchemy dialects doc

CocoroachDB sqlalchemy

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-risingwave-0.0.1.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

sqlalchemy_risingwave-0.0.1-py3-none-any.whl (8.3 kB view hashes)

Uploaded Python 3

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