A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.
APACHE-2.0 License
Bot releases are visible (Hide)
Published by akshayka 8 months ago
🌐 marimo runs in the browser — no backend required!
This release makes it possible for marimo notebooks to run entirely in the browser, without a backend. Instead, Python is executed via WebAssembly and Pyodide.
This capability is a big step forward in making marimo notebooks easier to share. marimo-in-the-browser lets you share educational notebooks, tutorials, interactive blog posts, and more — without having to pay for a server.
You can see an example of marimo running in the browser by navigating to https://marimo.app.
To share your notebook as interactive static HTML, click the "Share WebAssembly notebook" link in the notebook action menu:
This will generate a URL at https://marimo.app that runs your notebook code in the browser. For example, here's a link to the tutorial notebook, running via WebAssembly.
These URLs are a bit long, since they encode the Python code of the notebook as a parameter. In the future, we'll add the ability to download your notebooks as WASM-based static HTML (e.g., mynotebook.html
).
When running marimo in the browser via WASM, most but not all Python packages are supported. To learn more about which packages are supported, refer to the Pyodide documentation.
Full Changelog: https://github.com/marimo-team/marimo/compare/0.2.4...0.2.5
Published by akshayka 8 months ago
Highlights!
mo.ui.data_explorer()
to automatically visualize dataframes, for exploratory data analysismo.ui.tabs()
-- the value of the element is the heading of the selected tab.find_spec
should be a bound method by @akshayka in https://github.com/marimo-team/marimo/pull/764
Full Changelog: https://github.com/marimo-team/marimo/compare/0.2.3...0.2.4
Published by mscolnick 8 months ago
Some highlights:
bokeh
and holoviews
--watch
to marimo run
--base-url
to marimo run
Full Changelog: https://github.com/marimo-team/marimo/compare/0.2.2...0.2.3
Published by akshayka 9 months ago
Bug fixes and quality of life improvements.
Full Changelog: https://github.com/marimo-team/marimo/compare/0.2.1...0.2.2
Published by akshayka 9 months ago
This change includes a bug fix affecting marimo notebooks that use multiprocessing.
Full Changelog: https://github.com/marimo-team/marimo/compare/0.2.0...0.2.1
Published by akshayka 9 months ago
Version 0.2.0 brings several new features and bug fixes. Here are some highlights:
Resumable kernels. In edit mode, you can now close your browser tab and return to it later -- marimo will pick up where you left off! Any outputs that were generated while the tab was closed will be sent to your browser when you reconnect to the kernel. If you really want to restart the kernel, we've added a restart button in the notebook menu.
Switch your marimo notebook from the editor. We have a new file explorer that lets you change the marimo notebook you're working on. Currently, changing to a new notebook will close the currently running notebook, but we may change this behavior in the future.
ANSI escape codes in console output. The marimo editor now knows how to display ANSI escape codes (like colors, bold, etc) in console output -- so you can use libraries like rich with proper formatting, or use your own codes.
Full Changelog: https://github.com/marimo-team/marimo/compare/0.1.88...0.2.0
Published by akshayka 9 months ago
This change includes a couple new features:
ui.array
and dictionary
objects can be accessed using Pythonic syntax (array[index]
) and embedded in other outputs. This means you create rich outputs with a dynamic number of UI elements, without having to use ui.batch
.It also includes some bug fixes and improvements.
ui.array
and ui.dictionary
's contained elements by @akshayka in https://github.com/marimo-team/marimo/pull/690
Full Changelog: https://github.com/marimo-team/marimo/compare/0.1.87...0.1.88
Published by akshayka 9 months ago
This change allows you to set the host the marimo server will listen to with the --host
CLI argument. It also defines the __file__
variable to be the notebook's filename at program startup.
__file__
in cells by @mscolnick in https://github.com/marimo-team/marimo/pull/668
Full Changelog: https://github.com/marimo-team/marimo/compare/0.1.86...0.1.87
Published by akshayka 9 months ago
Bug fix release.
Full Changelog: https://github.com/marimo-team/marimo/compare/0.1.85...0.1.86
Published by akshayka 9 months ago
Includes a bug fix for the vim keymap.
Full Changelog: https://github.com/marimo-team/marimo/compare/0.1.84...0.1.85
Published by akshayka 9 months ago
This release includes an important bug fix affecting versions 0.1.82
and 0.1.83
(which have been yanked from PyPI), as well as some usability improvements.
Full Changelog: https://github.com/marimo-team/marimo/compare/0.1.83...0.1.84
Published by akshayka 9 months ago
This change includes bug fixes for the runtime's input/output.
Full Changelog: https://github.com/marimo-team/marimo/compare/0.1.82...0.1.83
Published by akshayka 9 months ago
This change includes important bug fixes. It also includes a big change under the hood -- we've migrated from tornado to starlette, an ASGI framework.
Full Changelog: https://github.com/marimo-team/marimo/compare/0.1.81...0.1.82
Published by akshayka 9 months ago
This change includes a number of bug fixes.
Full Changelog: https://github.com/marimo-team/marimo/compare/0.1.80...0.1.81
Published by akshayka 9 months ago
This change adds several customization options to mo.ui.form()
, including the ability to validate forms with custom logic and display error messages on submission failure. It also adds emoji autocomplete to the markdown editor, and a new function, mo.icon()
, which lets you display SVGs from popular open source icon libraries.
Full Changelog: https://github.com/marimo-team/marimo/compare/0.1.79...0.1.80
Published by akshayka 9 months ago
This change adds support for the pdb
debugger.
Full Changelog: https://github.com/marimo-team/marimo/compare/0.1.78...0.1.79
Published by akshayka 9 months ago
This release adds support for using input()
and stdin
for reading user input when editing a notebook, as well as a number of bug fixes and improvements.
Full Changelog: https://github.com/marimo-team/marimo/compare/0.1.77...0.1.78
Published by akshayka 9 months ago
This release includes a number of bug fixes and improvements, as well as a new feature: mo.mermaid()
, which lets you render Mermaid diagrams. We also have a number of new contributors -- welcome @pavelzw and @bckmnn!
Full Changelog: https://github.com/marimo-team/marimo/compare/0.1.76...0.1.77
Published by akshayka 9 months ago
Full Changelog: https://github.com/marimo-team/marimo/compare/0.1.75...0.1.76
Published by akshayka 9 months ago
This change includes some quality of life improvements to the marimo editor.
Full Changelog: https://github.com/marimo-team/marimo/compare/0.1.74...0.1.75