github marimo-team/marimo 0.12.0

latest releases: 0.12.2, 0.12.1
2 days ago

Highlights ⭐

  • Latex completions in markdown mode
  • Environment variables are automatically loaded dot-env files (e.g. .env) next to your pyproject.toml. You can customize this with:
[tool.marimo.runtime]
dotenv = [] # don't load any
dotenv = [".env"] # default
dotenv = [".env", ".env.production"] # load multiple
  • Support for using argparse and simple-parsing in marimo notebooks: letting you make notebooks that double as scripts with help messages and argument validation. See our examples and documentation to learn more.

This feature was contributed by @lucharo!

Breaking changes

  1. This release contains a small breaking change. sys.argv is now patched to the args after the marimo command

For example, for

marimo edit notebook.py -- foo bar -baz 42

sys.argv would be set to

["notebook.py", "foo", "bar", "-baz", "42"]
  1. Environment variables are loaded from your .env by default. This can be removed through configuration.

What's Changed

New Contributors

Full Changelog: 0.11.31...0.12.0

Don't miss a new marimo release

NewReleases is sending notifications on new releases.