Skip to main content

A library for making reactive notebooks and apps

Project description

A next-generation Python notebook: explore data, build tools, deploy apps!

Docs · Discord · Examples

marimo is a next-generation Python notebook where every notebook is also shareable as an interactive web app: explore data, run experiments, build tools, and deploy apps, all from one seamless environment.

pip install marimo && marimo tutorial intro

marimo

When you run a cell, marimo automatically runs all other cells that depend on it (like a spreadsheet!). This reactivity, along with marimo's built-in interactive UI elements, lets you make powerful notebooks and apps that make your data tangible.

Highlights.

  • reactive: run a cell, and marimo automatically runs cells that depend on it
  • interactive: connect inputs like sliders, dropdowns, plots, and more to Python
  • expressive: write dynamic makdown parametrized by UI elements, plots, or anything else
  • Pythonic: no callbacks, no magical syntax — just Python
  • git-friendly: notebooks stored as .py files

Quickstart

Installation. In a terminal, run

pip install marimo
marimo tutorial intro

You should see a tutorial notebook in your browser.

Create notebooks. Create an empty notebook with

marimo edit

or create/edit a notebook with a given name with

marimo edit your_notebook.py
  • marimo reacts to your code changes, like a spreadsheet! This rapid feedback ensures your code and outputs are always in sync.
  • Import marimo in your notebooks to use interactive elements, like sliders, dropdowns, tables, and more.

See our docs to learn more, including how to layout outputs in tabs, rows, columns, and more.

Run apps. Run your notebook as a web app, with Python code hidden and uneditable:

marimo run your_notebook.py

This app is deployed on marimo cloud, our unified platform for deploying and sharing notebooks and apps.

Automatically convert Jupyter notebooks. Automatically translate Jupyter notebooks to marimo notebooks:

marimo convert your_notebook.ipynb > your_notebook.py

Tutorials. List all tutorials:

marimo tutorial --help

GitHub Copilot. The marimo editor natively supports GitHub Copilot. Enable it via the settings menu in the marimo editor.

VS Code extension. If you prefer VS Code over terminal, try our VS Code extension.

Learn more

marimo is easy to get started with, with lots of room for power users. You can build powerful apps, including data labeling tools, embedding visualizers, model evaluation dashboards, and more, with surprisingly little code.

Examples are available in the examples/ directory. We've deployed many of these examples at our public gallery; try them out!

Ready to learn more? Check out our docs!

Tutorial Inputs Plots Layout

FAQ

See the FAQ at our docs.

Contributing

We appreciate all contributions! You don't need to be an expert to help out. Please see CONTRIBUTING.md for more details on how to get started.

Questions? Reach out to us on Discord.

Community

We're building a community. Come hang out with us!

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

marimo-0.1.30.tar.gz (7.3 MB view details)

Uploaded Source

Built Distribution

marimo-0.1.30-py3-none-any.whl (7.5 MB view details)

Uploaded Python 3

File details

Details for the file marimo-0.1.30.tar.gz.

File metadata

  • Download URL: marimo-0.1.30.tar.gz
  • Upload date:
  • Size: 7.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for marimo-0.1.30.tar.gz
Algorithm Hash digest
SHA256 d41fdd125a2786142bcb1bfeaab8690f1e48f7fb85b8a8298ec75248556d8003
MD5 a6ba5b623530e72c780f03c6f1425936
BLAKE2b-256 a35fe499ef3b4b35ecfaea521badbde8b8404d1e44e5d89b9884bebf9cc55513

See more details on using hashes here.

File details

Details for the file marimo-0.1.30-py3-none-any.whl.

File metadata

  • Download URL: marimo-0.1.30-py3-none-any.whl
  • Upload date:
  • Size: 7.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for marimo-0.1.30-py3-none-any.whl
Algorithm Hash digest
SHA256 43d3ee4db50fcc529ed3c3434260cb8ba3622b7b551a971ad3b0b83db8abb78b
MD5 21eccae4b758e3cd1be9e831be9b97ce
BLAKE2b-256 a20e7feef616bf0bb5f5fb92bd6831e1b1a3f3679725fb759876d3dbaaf3d64e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page