Skip to content

Instantly share code, notes, and snippets.

@kolibril13
Created December 6, 2024 15:11
Show Gist options
  • Save kolibril13/a59135dd0973b97d488ba21c650667fe to your computer and use it in GitHub Desktop.
Save kolibril13/a59135dd0973b97d488ba21c650667fe to your computer and use it in GitHub Desktop.
With PY Ending - Testing: uvx marimo edit --sandbox URL
# /// script
# requires-python = ">=3.11"
# dependencies = [
# "numpy==2.1.3",
# ]
# ///
import marimo
__generated_with = "0.9.31"
app = marimo.App(width="medium")
@app.cell
def __():
import numpy as np
return (np,)
@app.cell
def __(np):
np.random.randint(100)
return
if __name__ == "__main__":
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment