Spaces:
Sleeping
Sleeping
File size: 899 Bytes
36724cf 4077f1a 429a715 e1bb57e 36724cf 945e7e9 429a715 945e7e9 36724cf | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | import marimo
__generated_with = "0.18.4"
app = marimo.App(width="full", app_title="💚 Marimo")
@app.cell
def _():
import marimo as mo
from src.marimo_apps import UI
return UI, mo
@app.cell
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
@app.cell
def test_1():
assert 1
return
@app.cell
def _(UI):
UI.BUILD_DETAILS
return
if __name__ == "__main__":
app.run()
|