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.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
Running marimo on Modal
This folder contains examples of how to run marimo notebooks on Modal, making it easy to get access to cloud GPUs. To get started, first create a modal account and follow their onboarding. You'll also need to install the uv package manager.
Editable notebooks
modal_edit.py has an example of how to spin up an editable marimo notebook that runs on a Modal container. Run with
uvx -p 3.12 modal run modal_edit.py
You can configure your GPU selection by editing modal_edit.
Run as apps
modal_app.py has an example of how to deploy a read-only marimo notebook as an app on Modal. Run with
uvx -p 3.12 \
--with modal \
--with marimo \
modal serve modal_app.py