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
description: "Complete API reference for the marimo Python library: interactive inputs, markdown, layouts, media, control flow, and more."
API Reference
Use the marimo library in marimo notebooks (import marimo as mo) to
- connect interactive inputs like sliders, dropdowns, and tables to Python,
- express yourself with dynamically created markdown,
- layout information with tabs or grids,
- output media like images and audio,
- and more!
| markdown | Write markdown with mo.md |
| inputs | Connect sliders, dropdowns, tables, and more to Python |
| layouts | Customize outputs with accordions, tabs, stacks, and more |
| plotting | Output interactive plots |
| media | Output media like images, audio, PDFs, and plain text |
| diagrams | Flow charts, graphs, statistic cards, and more |
| status | Display progress indicators |
| outputs | Modify cell outputs, redirect console output |
| control_flow | Control how cells execute |
| html | Manipulate HTML objects |
| query_params | Access and set query parameters with mo.query_params |
| cli_args | Access command-line arguments with mo.cli_args |
| caching | Cache expensive computations in memory or on disk |
| state | Synchronize multiple UI elements with mo.state |
| app | Embed notebooks in other notebooks |
| cell | Run cells defined in another notebook |
| watch | Reactively respond to file changes on disk |
| miscellaneous | Miscellaneous utilities |