sqlalchemy-risingwave
RisingWave dialect for SQLAlchemy
Decision gist · record as of 2026-08-14
Yes, if you are building applications on RisingWave and want to use SQLAlchemy. The dialect is actively maintained, has no known vulnerabilities, and low install friction. However, understand that RisingWave's streaming semantics diverge significantly from PostgreSQL OLTP assumptions—read the documentation on read-after-write visibility and unenforced constraints before relying on them in production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires psycopg2 or psycopg2-binary (or psycopg3 for async support); psycopg2 has its own system-level prerequisites.
- RisingWave instance must be running and accessible at the connection URL.
- Low friction: pure Python wheel with a single runtime dependency on SQLAlchemy.
License · maintenance · safety
permissive license (permissive) — Apache 2.0 permissive license allows commercial and private use with minimal restrictions. No copyleft obligations or proprietary licensing concerns.
last release 2026-06-18 (57 days) · last repo commit 2026-08-14 · 9,258 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 179,196 downloads/mo, #10,178 on PyPI
Alternatives
Verify before relying
pip install sqlalchemy-risingwave
from sqlalchemy import create_engine, text
engine = create_engine("risingwave+psycopg://root@localhost:4566/dev")
with engine.connect() as conn:
result = conn.execute(text("SELECT 1"))
print(result.scalar_one())- Whether the 24% compliance rate (90 passing tests out of 371 applicable) is acceptable for your specific use case and query patterns.
- How read-after-write visibility delays in RisingWave's streaming model affect your application's consistency requirements.
- Whether unenforced constraints (CHECK, UNIQUE, FOREIGN KEY) require application-layer validation in your data pipeline.
What it is and what it does
sqlalchemy-risingwave is a SQLAlchemy dialect plugin that bridges Python's SQLAlchemy ORM to RisingWave, a streaming SQL database. It translates SQLAlchemy constructs into RisingWave-compatible SQL and handles the semantic differences between RisingWave's streaming model and traditional PostgreSQL OLTP semantics that SQLAlchemy normally assumes.
The dialect rewrites certain DDL constructs (SERIAL types, parameterized string/numeric types, UUID, Enum) to forms RisingWave accepts, and documents where it does not silently drop user-declared invariants (CHECK, UNIQUE, FOREIGN KEY constraints are not enforced by RisingWave). It supports both synchronous queries via psycopg2 and asynchronous queries via psycopg3 and SQLAlchemy 2.0's async engine API, making it suitable for concurrent workloads in services like FastAPI.
Use it for
- Build real-time analytics dashboards in Superset or similar tools by connecting them to RisingWave via SQLAlchemy.
- Write Python applications that query streaming data from RisingWave using familiar SQLAlchemy ORM patterns.
- Implement concurrent RisingWave queries in async Python services (FastAPI, Starlette) using the psycopg3 async driver.
- Migrate existing SQLAlchemy applications to RisingWave for streaming workloads with minimal code changes.
- Validate and enforce data invariants at the application layer when RisingWave does not enforce constraints.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building applications on RisingWave and want to use SQLAlchemy.
The dialect is actively maintained, has no known vulnerabilities, and low install friction. However, understand that RisingWave's streaming semantics diverge significantly from PostgreSQL OLTP assumptions—read the documentation on read-after-write visibility and unenforced constraints before relying on them in production.
Install
sqlalchemy-risingwave on PyPI
Before you install
Low friction: pure Python wheel with a single runtime dependency on SQLAlchemy. Active maintenance with a recent release (57 days old) and consistent commit activity. Supports Python 3.10 through 3.13.
Requires psycopg2 or psycopg2-binary (or psycopg3 for async support); psycopg2 has its own system-level prerequisites. RisingWave instance must be running and accessible at the connection URL.
License in practice
Apache 2.0 permissive license allows commercial and private use with minimal restrictions. No copyleft obligations or proprietary licensing concerns.
Quickstart
pip install sqlalchemy-risingwave
from sqlalchemy import create_engine, text
engine = create_engine("risingwave+psycopg://root@localhost:4566/dev")
with engine.connect() as conn:
result = conn.execute(text("SELECT 1"))
print(result.scalar_one())
Verify before relying
- Whether the 24% compliance rate (90 passing tests out of 371 applicable) is acceptable for your specific use case and query patterns.
- How read-after-write visibility delays in RisingWave's streaming model affect your application's consistency requirements.
- Whether unenforced constraints (CHECK, UNIQUE, FOREIGN KEY) require application-layer validation in your data pipeline.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageSQLAlchemy |
| Maintenance | Actively maintained 57 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 179,196 / month, #10,178 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: sqlalchemy_risingwave-2.1.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “sqlalchemy risingwave dialect”
- sqlalchemy-risingwaveProvides a SQLAlchemy dialect that enables Python applications to…
- sqlalchemy-pgspiderProvides a SQLAlchemy dialect that enables connections to PGSpider…
- sqlalchemy-databricksProvides a SQLAlchemy dialect that connects to Databricks workspaces…
Give your agent the search over MCP, or paste the wish link into any chat.
More Front-Ends packages
SQLAlchemy is a Python SQL toolkit and Object Relational Mapper (ORM) that provides both a high-level ORM layer for declarative object persistence and a Core SQL construction system for direct database abstraction and query building.
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Alembic generates and manages database schema migrations for SQLAlchemy applications, handling version control of database structure changes with support for upgrades, downgrades, and auto-generation from model changes.
Install it if you use SQLAlchemy and need to version-control schema changes; skip it only if you manage migrations manually or use a different ORM entirely.
A Python client library for connecting to and querying Weaviate, a vector database that enables semantic search and AI-powered data retrieval.
A Python client library that connects to Databricks clusters and SQL warehouses using a Thrift-based protocol, conforming to the Python DB API 2.0 specification and supporting Arrow-based data exchange.
Install it if you need to query Databricks clusters or SQL warehouses from Python.
Psycopg 3 is a PostgreSQL database adapter for Python that enables applications to connect to, query, and manage PostgreSQL databases using Python code.
Install it if you need to connect Python to PostgreSQL.
See also sqlalchemy-cockroachdb · sqlalchemy-jdbcapi · sqlalchemy-redshift · sqlalchemy-pgspider · sqlalchemy_exasol · iomete-sqlalchemy · chalk-sqlalchemy-redshift · pony · pydbml