Back to Marimo

Misc. SQL examples 🛢️

examples/sql/misc/README.md

0.23.5947 B
Original Source

Misc. SQL examples 🛢️

This folder contains illustrative examples of using SQL in marimo.

[!TIP] For a broad overview of using SQL in marimo, run marimo tutorial sql at the command-line.

Running examples

The requirements of each notebook are serialized in them as a top-level comment. Here are the steps to open an example notebook:

  1. Install marimo
  2. Install uv
  3. Open an example with marimo edit --sandbox <notebook.py>.

[!TIP] The --sandbox flag opens the notebook in an isolated virtual environment, automatically installing the notebook's dependencies 📦

You can also open notebooks without uv, with just marimo edit <notebook.py>; however, you'll need to install the requirements yourself.