Created
December 6, 2024 15:11
-
-
Save kolibril13/a59135dd0973b97d488ba21c650667fe to your computer and use it in GitHub Desktop.
With PY Ending - Testing: uvx marimo edit --sandbox URL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /// 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
uvx marimo edit --sandbox https://gist.githubusercontent.com/kolibril13/a59135dd0973b97d488ba21c650667fe/raw/5f98021b5d3c024d5827fa9464787517495178b4/marimo_minimal_numpy_example.py