github marimo-team/marimo 0.11.0

15 hours ago

Highlights ⭐

  1. SQL Engine Support. Connect to various databases like postgresql, mysql, snowflake and more, using your preferred SQL engine.

This release adds support for using for multiple SQL connection libraries, such as SQLModel and SQLAlchemy. You can now define SQL connections in your code like:

import sqlalchemy
import sqlmodel
import duckdb

# Create an in-memory SQLite database with SQLAlchemy
sqlite_engine = sqlachemy.create_engine("sqlite:///:memory:")
# Create a Postgres database with SQLModel
postgres_engine = sqlmodel.create_engine("postgresql://username:password@server:port/database")
# Create a DuckDB connection
duckdb_conn = duckdb.connect("file.db")

And then select which connection to use in the SQL cell.

image

h/t @Light2Dark

  1. Markdown file-format improvements - Markdown notebooks (i.e. marimo edit notebook.md) has an improved syntax format: python {.marimo}. You can also use SQL cells in the markdown file-format, using sql {.marimo}. To learn more, run marimo tutorial markdown-format

h/t @dmadisetti

  1. Markdown syntax - Added support for details, admonitions, and emojis in markdown

  2. Performance & Reliability - Lots of bug fixes for better resource cleanup and memory management, as well as disabling features not used in run-mode.

What's Changed

New Contributors

Full Changelog: 0.10.19...0.11.0

Don't miss a new marimo release

NewReleases is sending notifications on new releases.