Get the latest tech news

Disposable Python environments for ad-hoc analyses


written by Eric J. Ma on 2024-11-08 | tags: In this blog post, I explore the innovative 'juv' package, which simplifies Python environment management for Jupyter notebooks by embedding dependencies directly within the notebook file.

Made more concretely for the purposes of this post, this enables us to specify the Python version that is supposed to be used to execute a script, and, more importantly, the dependencies that are needed! This approach eliminates the need for separate environment files, making notebooks easily shareable and reducing setup complexity. I also discuss integrating 'juv' with 'pyds-cli' to streamline ad-hoc data analyses within organizations, enhancing reproducibility and reducing environment conflicts.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Disposable Python

Disposable Python

Photo of hoc analyses

hoc analyses