Just stumbled on this way of telling uv to install dependencies on running a script: https://akrabat.com/defining-python-dependencies-at-the-top-of-the-file/ very handy with https://akrabat.com/using-uv-as-your-shebang-line/

#python