Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

1.1 KB
Raw Blame

Misc ✨

A hodgepodge of examples!

[!TIP] Submit a pull request to add an example!

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.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.

The R and FFmpeg examples use Pixi to install non-Python dependencies. With Pixi installed, run:

marimo edit --sandbox=pixi examples/misc/pixi_r.py
marimo edit --sandbox=pixi examples/misc/pixi_ffmpeg.py