Skip to content

Instantly share code, notes, and snippets.

@koaning
Created December 2, 2025 13:37
Show Gist options
  • Select an option

  • Save koaning/fc592f57e412817842ac0096bc3d666a to your computer and use it in GitHub Desktop.

Select an option

Save koaning/fc592f57e412817842ac0096bc3d666a to your computer and use it in GitHub Desktop.
demodemo.py
# /// script
# dependencies = [
# "marimo>=0.17.0",
# "polars",
# "pyzmq",
# ]
# ///
import marimo
__generated_with = "0.18.1"
app = marimo.App(width="medium")
@app.cell
def _():
import marimo as mo
return (mo,)
@app.cell
def _(mo):
slider = mo.ui.slider(1, 10, 1)
slider
return (slider,)
@app.cell
def _(slider):
slider.value
return
@app.cell
def _():
return
if __name__ == "__main__":
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment