DEV Community

Alex Spinov
Alex Spinov

Posted on

Marimo Has a Free API You Should Know About

Marimo is a reactive Python notebook that fixes everything wrong with Jupyter. It's reproducible, git-friendly, and deployable as web apps — stored as pure Python files, not JSON.

Why Marimo Replaces Jupyter

A data scientist had notebooks that broke when cells were run out of order. Marimo's reactive execution graph makes this impossible — change a cell and all dependent cells automatically re-execute.

Key Features:

  • Reactive — Change one cell, dependents auto-update
  • Reproducible — No hidden state, deterministic execution
  • Git-Friendly — Stored as .py files, not JSON
  • Deployable — Convert notebooks to web apps
  • Interactive — Built-in UI elements (sliders, tables, plots)

Quick Start

pip install marimo
marimo edit notebook.py
Enter fullscreen mode Exit fullscreen mode

Example

import marimo as mo

# Interactive slider
slider = mo.ui.slider(1, 100, value=50, label="Sample size")
slider

# This cell auto-updates when slider changes
import numpy as np
data = np.random.randn(slider.value)
mo.stat(data.mean())
Enter fullscreen mode Exit fullscreen mode

Deploy as Web App

marimo run notebook.py  # Serve as interactive web app
Enter fullscreen mode Exit fullscreen mode

Why Choose Marimo

  1. No hidden state — reactive execution prevents broken notebooks
  2. Pure Python — clean diffs in git
  3. Deployable — share as web apps, not notebook files

Check out Marimo docs to get started.


Need data solutions? Check out my Apify actors or email spinov001@gmail.com for custom web scraping.

Top comments (0)