marimo

A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.

APACHE-2.0 License

Downloads
66.1K
Stars
3.9K

Bot releases are hidden (Show)

marimo - 0.7.16

Published by akshayka 3 months ago

What's Changed

🐞 fix release.

Full Changelog: https://github.com/marimo-team/marimo/compare/0.7.15...0.7.16

marimo - 0.7.15

Published by akshayka 3 months ago

What's Changed

Highlights

Fullscreen outputs! View any output as full-screen by clicking the expand icon in the top right of a cell.

📂 Open marimo notebooks from the file explorer panel.

image

All changes

New Contributors

Full Changelog: https://github.com/marimo-team/marimo/compare/0.7.14...0.7.15

marimo - 0.7.14

Published by akshayka 3 months ago

What's Changed

Print to PDF. We know that marimo users like PDFs; we do too! You can now print notebooks to PDF.

tqdm.notebook support. Basic usage of tqdm.notbook now works.

Plotly zoom. The default drag action for plotly plots has been changed to be "zoom", similar to other notebooks.

All changes.

Full Changelog: https://github.com/marimo-team/marimo/compare/0.7.13...0.7.14

marimo - 0.7.13

Published by akshayka 3 months ago

What's Changed

Improvements (better tracebacks!) and bug fixes, as well as a new feature: tables now support columnwise formatting!

# format_mapping is a dict keyed by column names,
# with values as formatting functions or strings
def format_name(name):
    return name.upper()


table = mo.ui.table(
    data=[
        {"first_name": "Michael", "last_name": "Scott", "age": 45},
        {"first_name": "Dwight", "last_name": "Schrute", "age": 40},
    ],
    format_mapping={
        "first_name": format_name,  # Use callable to format first names
        "age": "{:.1f}".format,  # Use string format for age
    },
    label="Format Mapping",
)

Thanks @metaboulie for the contribution!

New Contributors

Full Changelog: https://github.com/marimo-team/marimo/compare/0.7.12...0.7.13

marimo - 0.7.12

Published by akshayka 3 months ago

What's Changed

Fixes and improvements.

Full Changelog: https://github.com/marimo-team/marimo/compare/0.7.11...0.7.12

marimo - 0.7.11

Published by akshayka 3 months ago

What's Changed

Go-to-definition in vim mode! You can now use gd in vim mode, and it'll do the right thing.

Code editor max height. mo.ui.code_editor now accepts a max_height argument.

All changes.

Full Changelog: https://github.com/marimo-team/marimo/compare/0.7.10...0.7.11

marimo - 0.7.10

Published by akshayka 3 months ago

What's Changed

Highlights

Terminal panel 💻. The marimo editor now includes a terminal that lets you run shell commands in a pseudo-terminal, without having to return to your actual terminal. This feature is currently supported on macOS and Linux.

TOC outlines! 📑 We know notebooks can get long. That's why we now automatically include a floating TOC outline in preview/run mode, making it easy to get a birds-eye view of a notebook and to navigate to specific sections.

image

Pan and zoom on mo.ui.altair_chart 🖱 Hold ctrl/cmd and click to pan and zoom on your Altair charts.

Let me Google that for you. Tracebacks now include a "search with Google" button.

Let me fix that for you! If you have AI Assist enabled, tracebacks include a Fix with AI button that will try to automatically fix your bug.

image

All changes

Full Changelog: https://github.com/marimo-team/marimo/compare/0.7.9...0.7.10

marimo - 0.7.9

Published by akshayka 3 months ago

What's Changed

Highlights

✍ Scratchpad panel. Version 0.7.9 ships with a new panel: the scratchpad. The scratchpad panel lets you type arbitrary Python code, free from the restrictions of marimo's constraints. Scratchpad code doesn't get saved into your notebook; instead, it's an exploratory REPL for quick and dirty analyses.

image

Collapsible markdown headings. You can now collapse sections of your notebooks, based on markdown headings. For example, collapse all cells under an H2 heading. This makes it much easier to work with long notebooks.

image

Full Changelog: https://github.com/marimo-team/marimo/compare/0.7.8...0.7.9

marimo - 0.7.8

Published by akshayka 3 months ago

What's Changed

This release includes a critical bug fix that was affecting versions 0.7.6 and 0.7.7.

Full Changelog: https://github.com/marimo-team/marimo/compare/0.7.7...0.7.8

marimo - 0.7.7

Published by akshayka 3 months ago

What's Changed

Bug fixes and improvements.

Full Changelog: https://github.com/marimo-team/marimo/compare/0.7.6...0.7.7

marimo - 0.7.6

Published by akshayka 3 months ago

What's Changed

Highlights

  • Tables that you create with duckdb now show up in the data sources panel!
  • The marimo CLI now comes lets you specify the allowed origins for CORS with the -allow-origins option
  • We have a new API for embedding notebooks/apps into other notebooks

https://github.com/user-attachments/assets/69ae7b01-0fac-4e5b-b30d-48fd09905584

All changes

Full Changelog: https://github.com/marimo-team/marimo/compare/0.7.5...0.7.6

marimo - 0.7.5

Published by akshayka 3 months ago

What's Changed

Fixes an issue with marimo edit

Full Changelog: https://github.com/marimo-team/marimo/compare/0.7.4...0.7.5

marimo - 0.7.4

Published by akshayka 3 months ago

What's Changed

Small bug fixes.

Full Changelog: https://github.com/marimo-team/marimo/compare/0.7.3...0.7.4

marimo - 0.7.3

Published by akshayka 3 months ago

What's Changed

Highlights

marimo edit glow-up! ✨ We've done a UI revamp of the notebook server launched with marimo edit. Your notebooks are now organized in an easy-to-navigate and searchable file explorer.

image

All changes

New Contributors

Full Changelog: https://github.com/marimo-team/marimo/compare/0.7.2...0.7.3

marimo - 0.7.2

Published by akshayka 3 months ago

What's Changed

Highlights

marimo slides! It's now possible to present any marimo notebook as a slide deck, in just a couple of clicks.

Make interactive and dynamic presentations using just Python and markdown!

https://github.com/marimo-team/marimo/assets/1994308/18851d3b-0445-43cf-918a-4ae9c14f0f0e

Every cell with an output becomes its own slide. View a notebook in slides mode by toggling the app view and choosing "slides" from the layouts dropdown in the top right. You can then present the notebook as slides with marimo run my_notebook.py.

Example: https://marimo.io/p/@marimo/marimo-slides

new tutorial - marimo tutorial sql for a quick guide on writing SQL in marimo.

All changes

New Contributors

Full Changelog: https://github.com/marimo-team/marimo/compare/0.7.1...0.7.2

marimo - 0.7.1

Published by akshayka 3 months ago

What's Changed

Fixes for vim mode, GitHub copilot, and other misc.

New Contributors

Full Changelog: https://github.com/marimo-team/marimo/compare/0.7.0...0.7.1

marimo - 0.7.0

Published by akshayka 4 months ago

What's Changed in 0.7.0!

Hello, SQL!

Version 0.7.0 includes a big new feature: marimo now ships with reactive SQL cells! Use SQL to query Pandas/Polars dataframes, Google Sheets, database tables, and more, and get the query result back as a DataFrame.

https://github.com/marimo-team/marimo/assets/1994308/89a6f045-56e5-4d82-91dc-e2dfdb2ad772

Details

  • You can create a SQL cell by right-clicking a create cell button and choosing "SQL cell", by converting an empty cell to SQL via the cell context menu, or via the SQL button that appears when you mouse hover at the bottom of your notebook.
  • Under the hood, marimo translates your SQL statements to Python and passes it to an OLAP DBMS. Our current implementation is powered by duckdb 🦆.
  • Stay tuned for more documentation and tutorials on how to use this powerful new feature.
  • To use this feature, you'll need to first install duckdb (pip install duckdb).

All changes

New Contributors

Full Changelog: https://github.com/marimo-team/marimo/compare/0.6.26...0.7.0

marimo - 0.6.26

Published by akshayka 4 months ago

What's Changed

Highlights

A free copilot! 🤖 This release brings a free copilot to marimo, based on Codeium! We already support GitHub Copilot, but if you don't have a GitHub Copilot, consider Codeium for a free alternative. Docs here: https://docs.marimo.io/guides/ai_completion.html#codeium-copilot

All changes

Full Changelog: https://github.com/marimo-team/marimo/compare/0.6.25...0.6.26

marimo - 0.6.25

Published by akshayka 4 months ago

What's Changed

Searchable, Filterable, and Sortable Dataframes — by default!

marimo now renders dataframes in a rich table viewer by default! Search, filter, and sort in just one click or keystroke; get rich previews of your columnar data distributions; and page through your data.

This is one small step in our vision in making marimo the best place to work with your data — we believe data should be tangible and extremely interactive, by default.

image

If you need to opt out — wrap your dataframe df in mo.plain(df).

Full Changelog: https://github.com/marimo-team/marimo/compare/0.6.24...0.6.25

marimo - 0.6.24

Published by akshayka 4 months ago

What's Changed

Better support for anywidget, and a number of fixes/improvements.

Full Changelog: https://github.com/marimo-team/marimo/compare/0.6.23...0.6.24