Spaces:
Sleeping
Sleeping
| import marimo | |
| __generated_with = "0.18.4" | |
| app = marimo.App(width="full", app_title="๐ Marimo") | |
| def _(): | |
| import marimo as mo | |
| from src.marimo_apps import UI | |
| return UI, mo | |
| def _(UI, mo): | |
| md = mo.md(""" | |
| # Yes, Notebooks In Production | PyCon 2026 | |
| ## Marimo Features | |
| 0. Testing! Cell function needs to be named correctly to be picked up by pytest | |
| 1. Layout: I like columns | |
| 2. Config: `marimo config show`, the file is `~/.config/marimo/config.toml` | |
| 3. Reactivity: off/lazy/autorun | |
| - global and private variables | |
| - `mo.stop` | |
| - hack: no tracking mutations | |
| 4. Inspect | |
| 5. | |
| """) | |
| mo.hstack([UI.NAV, md], widths=[1, 5]) | |
| return | |
| def test_1(): | |
| assert 1 | |
| return | |
| def _(UI): | |
| UI.BUILD_DETAILS | |
| return | |
| if __name__ == "__main__": | |
| app.run() | |