Useful commands

#tools#python

Register a uv environment as a Jupyter kernel

Assumes uv is installed.

uv venv myenv
source myenv/bin/activate
uv pip install ipykernel
python -m ipykernel install --user --name=myenv --display-name=myenv

Then in VS Code, Ctrl+Shift+PDeveloper: Reload Window to make the new kernel show up in the picker.