{
 "schema_version": 1,
 "generated": "2026-11-01",
 "id": "marimo-team-marimo--replace-jupyter-with-a-reactive-notebook",
 "repo": "marimo-team/marimo",
 "repo_url": "https://github.com/marimo-team/marimo",
 "repo_slug": "marimo-team-marimo",
 "title": "Switch from Jupyter to a reactive, git-friendly notebook",
 "page_title": "How to switch from Jupyter to a reactive, git-friendly notebook with Marimo",
 "summary": "Convert existing Jupyter notebooks to Marimo so they rerun dependent cells automatically and diff cleanly in git.",
 "who": "A data scientist tired of out-of-order cells and unreadable notebook diffs.",
 "problem": "Jupyter notebooks hide state, break when cells run out of order and store as noisy JSON.",
 "outcome": "Notebooks saved as pure Python that stay consistent and review well in pull requests.",
 "steps": [
  "Install with `pip install marimo` and try the tutorial with `marimo tutorial intro`",
  "Convert a notebook with `marimo convert your_notebook.ipynb > your_notebook.py`",
  "Open it with Marimo edit and fix any cells that redefine the same variable",
  "Commit the .py file and review changes like normal code",
  "Run it top to bottom as a script with `python your_notebook.py`"
 ],
 "agent_prompt": "Using marimo-team/marimo, convert <notebook.ipynb> with marimo convert, fix any multiple-definition errors so it runs reactively, and confirm `python your_notebook.py` executes it end to end.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Beginner",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "This card is written from the marimo-team/marimo README, not from a test run by Deduped. Before you start, make sure you have Python and pip or conda. Check the repo for newer instructions before you rely on these steps.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "python",
 "requirements": [
  "Python and pip or conda",
  "Optional: marimo[recommended] for SQL cells, AI completion and more",
  "Optional: your own API keys or a local model for AI features"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/marimo-team-marimo/replace-jupyter-with-a-reactive-notebook/",
 "md": "https://dedupedai.com/use-cases/marimo-team-marimo/replace-jupyter-with-a-reactive-notebook/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/marimo-team-marimo--replace-jupyter-with-a-reactive-notebook.json",
 "api_version": "v1"
}
