# marimo

Reactive Python and SQL notebooks stored as Python source\.

ID: Q431 · Revision: 417

Type: software · License: Apache\-2\.0[^marimo-license] · Status: active

Website: https://marimo.io/



marimo is an open\-source reactive Python notebook environment with SQL support\. It represents notebooks as Python source and can reuse them as scripts or applications\. Running a cell updates dependent work automatically by default, providing a different execution model from manually managing the order of conventional notebook cells\.[^marimo]

## Reactive workflow

The runtime tracks relationships between variable definitions and references\. Automatic reruns can be disabled while retaining dependency tracking and stale\-cell indicators\. This makes execution policy adjustable for expensive computations, but does not remove the underlying dependency model\. Authors need to understand which downstream work an edited cell can affect\.[^marimo-migrate]

## Adapting Jupyter code

The same variable cannot be defined in multiple cells, and IPython magic commands and exclamation\-prefixed shell commands are not supported as notebook syntax\. Conversion tools provide a starting point, but code may need restructuring\. Export to \.ipynb also has limits: some marimo functions, including interactive controls, will not work in Jupyter\.[^marimo-migrate]

## Dependency portability

Sandbox mode uses uv or Pixi to prepare a notebook\-specific package environment from inline requirements\. Locking exact resolved versions is a separate step, and required data or local source files still need to accompany the notebook\. The documentation explicitly limits the term sandbox to package isolation; it does not restrict notebook access to files or the network\.[^marimo-sandbox]

## Sources and snapshots

The Python notebook file does not store visual outputs\. Static HTML provides a separate record, including an automatic snapshot option\. Command\-line HTML export executes the notebook to generate output, so export is not inherently a read\-only formatting operation\. A resulting static page can be shared for reading without providing the notebook's live computational behavior\.[^marimo-migrate][^marimo-html]

## Browser execution and licensing

WebAssembly HTML export can run Python in the recipient's browser, but depends on compatible packages and internet access to load required resources\. Single\-file exports use CDN assets and do not bundle local modules or all related files\. marimo's application code is Apache\-2\.0 licensed; package and hosting requirements remain separate from that license\.[^marimo-wasm][^marimo-license]

## Substitution considerations

marimo can substitute for [Jupyter Notebook](/jupyternotebook) when Python analysis benefits from reactive execution and text\-based source files\. It is a qualified migration rather than a promise of unchanged execution: repeated global assignments, magic syntax and interactive outputs need review\. Dependency metadata and exported outputs should travel with the source when they are needed for the handoff\.[^marimo-migrate][^marimo-sandbox]

## Capabilities and substitutions

### Python source notebooks — supported

Stores notebooks as Python and supports script or application reuse\.[^marimo]

Use case: Computational notebooks · Platforms: Web browser · Region: Deployment and kernel requirements apply

### Jupyter interchange — limited

Conversion does not eliminate reactive\-model restrictions or preserve every interactive function\.[^marimo-migrate]

Use case: Computational notebooks · Platforms: Web browser · Region: Deployment and kernel requirements apply

### [Substitute for Jupyter Notebook](/jupyternotebook) — limited

A reactive Python alternative; existing code and widgets may need adaptation\.[^marimo-migrate]

Use case: Interactive notebook authoring · Platforms: Web browser · Region: Deployment and kernel requirements apply

## References

[^marimo-license]: [marimo license](<https://github.com/marimo-team/marimo/blob/main/LICENSE>) — Apache License version 2\.0 (vendor; retrieved 2026-10-07T04:22:56Z)

[^marimo]: [marimo documentation](<https://docs.marimo.io/>) — Reactive Python notebook; script and app reuse (vendor; retrieved 2026-10-07T04:22:30Z)

[^marimo-migrate]: [marimo Jupyter migration](<https://docs.marimo.io/guides/coming_from/jupyter/>) — Variable restrictions; Python files exclude outputs; IPython magics; export limits (vendor; retrieved 2026-10-07T04:22:56Z)

[^marimo-sandbox]: [marimo dependency sandboxes](<https://docs.marimo.io/guides/package_management/sandboxes/>) — Inline metadata; uv/Pixi; separate lockfiles; package isolation only (vendor; retrieved 2026-10-07T04:23:26Z)

[^marimo-html]: [marimo static HTML](<https://docs.marimo.io/guides/exporting/static_html/>) — Static output; command\-line export executes notebook (vendor; retrieved 2026-10-07T04:23:16Z)

[^marimo-wasm]: [marimo WebAssembly HTML](<https://docs.marimo.io/guides/exporting/webassembly_html/>) — Browser execution; network dependency; limited package support (vendor; retrieved 2026-10-07T04:23:26Z)

Source revision: https://substitutefor.net/entities/Q431?revision=417
