uvk
Fully-isolated IPython kernel through uv
This tool starts Jupyter IPython kernels (ipykernel) in ad hoc isolated environments built on-the-fly very quickly using uv. The uvk kernel comes with an IPython extension that provides magics to specify the package dependencies on which the notebook relies. These packages are installed in the isolated environment as these magics are executed, and the ad hoc virtual environment is discarded when the kernel is shut down.
Quickstart#
Let's assume you run a Jupyter Lab or Notebook instance is from your own computer; see here for deploying uvk on Jupyterhub. First off, deploy the uvk kernel where Jupyter can see it. (Wait, what's uvx?)
uvx --with uvk jupyter lab
You should see the uvk icon as a kernel labelled Python 3 (uvk)
in addition to the usual IPython kernel (ipykernel).
Now run through the tutorial notebook to see what this kernel can do for you.
Why use this?#
Going further#
- About uvk
- Full installation instructions
- Tutorial
- How to? guides and recipes
- Tool and API reference:
- uvk IPython extension for managing a notebook's metadata
uvkcommand-line utility for installing and launching new uvk kernels
Copyright 2026 Benoit Hamelin.