Skip to content

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.

221 B
Raw Blame

In-memory caching

Use [mo.cache][marimo.cache] to cache the output of expensive functions in memory.

/// marimo-embed-file size: xlarge mode: edit filepath: examples/running_cells/in_memory_cache.py ///