Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-28 00:18:38 +00:00
parent 9fe6559a97
commit a3692d638b
77 changed files with 334 additions and 180 deletions

34
tldr/marimo Normal file
View File

@@ -0,0 +1,34 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# marimo
> A reactive Python notebook environment.
> Combines features of Jupyter, Streamlit, and other notebook tools with reactive execution.
> More information: <https://docs.marimo.io/cli>.
- Create or edit notebooks by starting a marimo server:
`marimo edit`
- Start a marimo server on a specific port without launching a browser:
`marimo edit {{[-p|--port]}} {{port_number}} --headless`
- Edit a specific notebook:
`marimo edit {{path/to/notebook.py}}`
- Run a marimo notebook as an app in read-only mode:
`marimo run {{path/to/notebook.py}}`
- Start an interactive tutorial to learn marimo:
`marimo tutorial {{intro|components|dataflow|io}}`
- View command-specific help:
`marimo {{edit|run|tutorial|config|new|...}} --help`