Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

389 B
Raw Blame
import marimo

__generated_with = "0.1.0"
app = marimo.App()


@app.cell
def one():
    import numpy as np
    import asyncio

    return (asyncio,)


@app.cell
async def two(asyncio):
    x = 0
    xx = 1
    await asyncio.sleep(1)
    return (x,)


@app.cell
def three(asyncio, x):
    async def _():
        await asyncio.sleep(x)

    return


if __name__ == "__main__":
    app.run()