Skip to main content

RisingWave dialect for SQLAlchemy

Project description

RisingWave dialect for SQLAlchemy

SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL. https://www.sqlalchemy.org/

RisingWave is a cloud-native streaming database that uses SQL as the interface language. It is designed to reduce the complexity and cost of building real-time applications. https://www.risingwave.com

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

Install via PyPI

pip install sqlalchemy-risingwave

Recommend install packages locally like below. If directly from PyPI, the version may not be the most updated.

python setup.py sdist bdist_wheel # generate dist
pip install -e . # install this package

Usage

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.

See how to use with Superset: doc

Develop

Install pre-req.

pip install sqlalchemy alembic pytest psycopg2-binary

Test

We use pytest for unittest.

pytest # to run the test

Ref

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-1.4.1.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqlalchemy_risingwave-1.4.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file sqlalchemy_risingwave-1.4.1.tar.gz.

File metadata

  • Download URL: sqlalchemy_risingwave-1.4.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for sqlalchemy_risingwave-1.4.1.tar.gz
Algorithm Hash digest
SHA256 0f043c22fc86cf797183c00d48bdcc4588fb281c5bbf2e63c15b80d90b2f9544
MD5 ab389088326e00197bcedd4419b9718a
BLAKE2b-256 e21ef60abbf8eb4d5d2df6f6615b4908effc81652d0ac886672d74a49aabd0dd

See more details on using hashes here.

File details

Details for the file sqlalchemy_risingwave-1.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sqlalchemy_risingwave-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f7de91875b8d25413f880e8d7187a095a2bc2307014565e19824d20cff0b4864
MD5 0f3b18872f76f1a77b5379d1f8fd9f70
BLAKE2b-256 031047559a167605966b5f3c2a221502db8a14d943edc70cbfc7a39167777dcd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page