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 |
miscellaneous | Miscellaneous utilities |