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.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
import marimo
__generated_with = "0.23.9"
app = marimo.App()
@app.function
def inc(x):
return x + 1
@app.cell
def test_answer():
assert inc(3) == 5, "This test fails"
return
@app.cell
def test_sanity():
assert inc(3) == 4, "This test passes"
return
if __name__ == "__main__":
app.run()