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.17.0"
app = marimo.App()
@app.cell
def _():
import marimo as mo
return (mo,)
@app.cell
def _(mo):
mo.md(
r"""
# Test Markdown
Already indented text.
"""
)
return
@app.cell
def _(mo):
# With a comment
# and another
mo.md(
rf"""
Has comment. No issue
"""
)
# Suffix
return
@app.cell
def _(mo):
# With a comment
# and another
mo.md(f"Double {{braces}}")
# Suffix
return
@app.cell
def _(mo):
# With a comment
# and another
mo.md(rf"Single line. No issue")
# Suffix
return
@app.cell
def _(mo):
mo.md(
rf"""
Another markdown cell with indentation.
Some **bold** text and _italic_ text.
"""
)
return
@app.cell
def _(mo):
mo.md(
rf"""single line""")
return
@app.cell
def _(mo):
mo.md(
fr"""single line""")
return
@app.cell
def _(mo):
mo.md(fr"siiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiingle line")
return
@app.cell
def _(mo):
mo.md(r"""
Inline comment after the call. No issue
""") # noqa: E501
return
if __name__ == "__main__":
app.run()