This directory contains interactive exploration notebooks.
We recommend placing all exploratory notebooks in the root notebooks/ directory rather than inside src/ to keep application modules clean and decoupled from interactive scripts.
Marimo is a reactive, pure-Python notebook format stored as standard Python .py files.
Install extension: https://marketplace.visualstudio.com/items?itemName=marimo-team.vscode-marimo
Marimo notebooks can also be served directly as interactive web applications:
# Directly run as web app
marimo run notebooks/explore_marimo.py
# Edit mode that lets you toggle between code and run views with outline option
marimo edit notebooks/explore_marimo.py
Marimo supports bidirectional conversion between .py scripts and Jupyter .ipynb notebooks:
# Convert Jupyter notebook to Marimo script
marimo convert notebooks/trial.ipynb -o notebooks/trial_marimo.py
# Export Marimo notebook to static HTML
marimo export html notebooks/explore_marimo.py -o notebooks/explore.html
notebooks/
├── README.md # Instructions & best practices
├── explore_marimo.py # Interactive Marimo notebook
└── trial.ipynb # Jupyter notebook