Install any Python package as a tool with a single shell script.
Copy/paste the following command, and replace the <package-name> with your package name.
curl -LsSf https://uhd-urz.github.io/py/install.sh | sh -s -- <package-name>Optional dependencies can also be passed. E.g.,
curl -LsSf https://uhd-urz.github.io/py/install.sh | sh -s -- <package-name>["optional-dep"]This script mainly just installs uv if it doesn't already exist in the system, and then installs the provided
Python package. See: astral-sh/uv#6533.