I don’t really write code for real, but I use Python when I can to keep a part of my brain from rotting.

It sounds like the cool way to manage Python packages for projects now is with uv:

cd ~/projects
mkdir analysis-project
cd analysis-project
uv venv
source .venv/bin/activate
uv pip install jupyter pandas matplotlib
jupyter lab