Get the latest tech news
Package reproducibility in Python notebooks using uv isolated environments
How marimo enables sandboxed notebooks, reproducible down to the package environment
The motivation for building package sandboxing into marimo comes from a decade of our own experience of working with Jupyter notebooks — either our own, or our colleagues — that failed to reproduce. In practice, this means a large fraction of Python notebooks are relegated to being archaeological artifacts that provide us a glimpse into work that was done in the past, instead of programs that we can execute today — a real blow to reproducibility in science and reusability in engineering. Thankfully, our friends at Astral eventually developed uv, a package manager that supports inline script metadata and isolated virtual environments, while also happening to be blazingly fast.
Or read this on Hacker News