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
Flask + marimo
This is a simple example of how to use Flask with marimo. This example programmatically creates multiple marimo apps from a directory, and then serves them as a single Flask app.
This example includes:
- Authentication
- Serving multiple marimo apps from a directory
- A home page listing all the apps
- Loading environment variables from a
.envfile - Basic logging
Running the app
- Install
uv - Run the app with
uv run --no-project main.py
This will start the Flask development server.