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
[pre-commit.ci] pre-commit autoupdate (#2966)
pre-commit-ci[bot]4c335a5ed0ef
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlindex 33c3581299..264ff6267f 100644--- a/.pre-commit-config.yaml+++ b/.pre-commit-config.yaml@@ -18,19 +18,19 @@ repos:- id: validate-pyproject- repo: https://github.com/igorshubovych/markdownlint-cli- rev: v0.42.0+ rev: v0.43.0hooks:- id: markdownlint-fixargs: [-c, configs/.markdownlint.yaml, --fix, --disable, MD028]exclude: ^marimo/_tutorials/.*\.md- repo: https://github.com/crate-ci/typos- rev: typos-dict-v0.11.35+ rev: v1.28.0hooks:- id: typos- repo: https://github.com/astral-sh/ruff-pre-commit- rev: v0.7.4+ rev: v0.8.0hooks:# Run the linter- id: ruffdiff --git a/README.md b/README.mdindex 931323453a..b5ff4c1267 100644--- a/README.md+++ b/README.md@@ -36,7 +36,7 @@ and deployable as apps.- ⚡️ **reactive**: run a cell, and marimo reactively [runs all dependent cells](https://docs.marimo.io/guides/reactivity.html) or <a href="#expensive-notebooks">marks them as stale</a>- 🖐️ **interactive:** [bind sliders, tables, plots, and more](https://docs.marimo.io/guides/interactivity.html) to Python — no callbacks required- 🔬 **reproducible:** [no hidden state](https://docs.marimo.io/guides/reactivity.html#no-hidden-state), deterministic execution, [built-in package management](https://docs.marimo.io/guides/editor_features/package_management.html)-- 🏃 **executable:** [execute as a Python script](https://docs.marimo.io/guides/scripts.html), parametrized by CLI args+- 🏃 **executable:** [execute as a Python script](https://docs.marimo.io/guides/scripts.html), parameterized by CLI args- 🛜 **shareable**: [deploy as an interactive web app](https://docs.marimo.io/guides/apps.html) or [slides](https://docs.marimo.io/guides/apps.html#slides-layout), [run in the browser via WASM](https://docs.marimo.io/guides/wasm.html)- 🛢️ **designed for data**: query dataframes and databases [with SQL](https://docs.marimo.io/guides/working_with_data/sql.html), filter and search [dataframes](https://docs.marimo.io/guides/working_with_data/dataframes.html)- 🐍 **git-friendly:** notebooks are stored as `.py` filesdiff --git a/docs/index.md b/docs/index.mdindex 0e3186e3ae..5f6eb5b28f 100644--- a/docs/index.md+++ b/docs/index.md@@ -51,7 +51,7 @@ reproducibility, maintainability, composability, and shareability.- ⚡️ **reactive**: run a cell, and marimo reactively [runs all dependent cells](/guides/reactivity.md) or <a href="#expensive-notebooks">marks them as stale</a>- 🖐️ **interactive:** [bind sliders, tables, plots, and more](/guides/interactivity.md) to Python — no callbacks required- 🔬 **reproducible:** [no hidden state](/guides/reactivity.md#no-hidden-state), deterministic execution, [built-in package management](/guides/editor_features/package_management.md)-- 🏃 **executable:** [execute as a Python script](/guides/scripts.md), parametrized by CLI args+- 🏃 **executable:** [execute as a Python script](/guides/scripts.md), parameterized by CLI args- 🛜 **shareable**: [deploy as an interactive web app](guides/apps.md) or [slides](/guides/apps.md#slides-layout), [run in the browser via WASM](/guides/wasm.md)- 🛢️ **designed for data**: query dataframes and databases [with SQL](/guides/working_with_data/sql.md), filter and search [dataframes](/guides/working_with_data/dataframes.md)- 🐍 **git-friendly:** notebooks are stored as `.py` filesdiff --git a/marimo/_smoke_tests/routes.py b/marimo/_smoke_tests/routes.pyindex 53f4c2c951..a6673a7fbf 100644--- a/marimo/_smoke_tests/routes.py+++ b/marimo/_smoke_tests/routes.py@@ -80,7 +80,7 @@ def __(mo):- **reactive**: run a cell, and marimo automatically runs all dependent cells- **interactive**: bind sliders, tables, plots, and more to Python — no callbacks required- **reproducible**: no hidden state, deterministic execution- - **executable**: execute as a Python script, parametrized by CLI args+ - **executable**: execute as a Python script, parameterized by CLI args- **shareable**: deploy as an interactive web app, or run in the browser via WASM- **git-friendly**: stored as `.py` filesdiff --git a/marimo/_tutorials/for_jupyter_users.py b/marimo/_tutorials/for_jupyter_users.pyindex 4e5ef3fbbe..18b2f4279f 100644--- a/marimo/_tutorials/for_jupyter_users.py+++ b/marimo/_tutorials/for_jupyter_users.py@@ -258,7 +258,7 @@ def __(mo):mo.md(rf"""**Explanation.** By lifting Markdown into Python, marimo lets you construct- dynamic Markdown parametrized by arbitrary Python elements. marimo knows+ dynamic Markdown parameterized by arbitrary Python elements. marimo knowshow to render its own elements, and you can use `mo.as_html` to render otherobjects, like plots.diff --git a/pyproject.toml b/pyproject.tomlindex 615b1f8c66..f4cfa95c67 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -416,6 +416,7 @@ pn = "pn" # Panelextend-exclude = ["MultiSelectPlugin.test.ts","module_name_to_pypi_name.py",+ "**/pnpm-lock.yaml","**/snapshots/*","**/__demo__/*","base64.test.ts",diff --git a/tests/_cli/snapshots/ipynb.txt b/tests/_cli/snapshots/ipynb.txtindex 7b5c438161..24ee1a7364 100644--- a/tests/_cli/snapshots/ipynb.txt+++ b/tests/_cli/snapshots/ipynb.txt@@ -10,14 +10,6 @@"import marimo as mo"]},- {- "cell_type": "markdown",- "id": "vblA",- "metadata": {},- "source": [- "plain markdown"- ]- },{"cell_type": "code","execution_count": null,@@ -29,6 +21,14 @@"mo.md(\"markdown\")"]},+ {+ "cell_type": "markdown",+ "id": "vblA",+ "metadata": {},+ "source": [+ "plain markdown"+ ]+ },{"cell_type": "code","execution_count": null,@@ -37,7 +37,7 @@"outputs": [],"source": ["control_dep\n",- "mo.md(f\"parametrized markdown {123}\")"+ "mo.md(f\"parameterized markdown {123}\")"]}],diff --git a/tests/_cli/snapshots/ipynb_topdown.txt b/tests/_cli/snapshots/ipynb_topdown.txtindex 40168689a3..0b3a8e7808 100644--- a/tests/_cli/snapshots/ipynb_topdown.txt+++ b/tests/_cli/snapshots/ipynb_topdown.txt@@ -19,7 +19,7 @@"outputs": [],"source": ["control_dep\n",- "mo.md(f\"parametrized markdown {123}\")"+ "mo.md(f\"parameterized markdown {123}\")"]},{diff --git a/tests/_cli/snapshots/marimo_for_jupyter_users.md.txt b/tests/_cli/snapshots/marimo_for_jupyter_users.md.txtindex 98e4bf6da3..ec2c2cccf5 100644--- a/tests/_cli/snapshots/marimo_for_jupyter_users.md.txt+++ b/tests/_cli/snapshots/marimo_for_jupyter_users.md.txt@@ -135,7 +135,7 @@ mo.md(```**Explanation.** By lifting Markdown into Python, marimo lets you construct-dynamic Markdown parametrized by arbitrary Python elements. marimo knows+dynamic Markdown parameterized by arbitrary Python elements. marimo knowshow to render its own elements, and you can use `mo.as_html` to render otherobjects, like plots.diff --git a/tests/conftest.py b/tests/conftest.pyindex 15d93d1385..888f8dca1b 100644--- a/tests/conftest.py+++ b/tests/conftest.py@@ -315,7 +315,7 @@ def temp_marimo_file_with_md() -> Generator[str, None, None]:@app.celldef __(mo, control_dep):control_dep- mo.md(f"parametrized markdown {123}")+ mo.md(f"parameterized markdown {123}")return@app.cell