Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.06 KB

README.md

File metadata and controls

27 lines (19 loc) · 1.06 KB

Control Flow

These basic examples show how to control execution of cells.

Tip

New to marimo? Run marimo tutorial intro and marimo tutorial dataflow at the command line first!

Looking for examples on making chatbots? Check out the ai/chat examples folder.

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 uv
  2. Open an example with uvx marimo edit --sandbox <notebook-url>

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, in which case you'll need to manually install marimo first. Then run marimo edit <notebook-url>; however, you'll also need to install the requirements yourself.