Describes how to use the purpose-built Python SDK by RisingWave to build event-driven applications.
risingwave-py
to help users develop event-driven applications.
This SDK provides a simple way to perform ad-hoc queries, subscribe to changes, and define event handlers for tables and materialized views, making it easier to integrate real-time data into applications.
risingwave-py
to connect to RisingWaverisingwave-py
:
risingwave-py
, you can define materialized views using SQL and run them in RisingWave. Behind the scenes, events are processed continuously, and the results are incrementally maintained.
In the following example, test_mv
is created to incrementally maintain the result of the defined SQL as events are ingested in to the test
table.
risingwave-py
, You can also subscribe changes from table / materialized view and define handler of the change events from table / materialized view for you applications.
risingwave-py
GitHub repo.