Tutorials

End-to-end, hands-on walkthroughs you can run and drive yourself.

Longer, hands-on tutorials that build a complete demo with drasi-lib — a real data source, continuous queries, and a reaction you can watch react in real time.

Each tutorial is authored once under tutorials/ in the repository (runnable code plus its write-up), so you can read it here or clone it and run it locally.


Getting Started

Connect Drasi to a live PostgreSQL database and build three continuous queries, step by step, in a small Python console app.

Building Comfort

Monitor a smart building’s comfort in real time with PostgreSQL CDC, six continuous queries with synthetic joins, and a Python reaction that drives a Streamlit UI.

Curbside Pickup

Join a PostgreSQL orders store and a MySQL vehicles store by license plate, and render the result live in one Streamlit UI driven by a Python reaction — with the controls that drive the changes built right in.