https://github.com/astral-sh/uv
curl -LsSf https://astral.sh/uv/install.sh | sh
source "${HOME}/.cargo/env"
uv venv --python 3.11
uv venv
source .venv/bin/activate
unset CONDA_PREFIX
uv pip -v install ruff
uv pip install -r requirements.txt
uv run
uv run https://manzt.sh/hello.py
hello.py
# /// script
# requires-python = ">=3.12"
# dependencies = [
# "rich>=13.9.2",
# ]
# ///
import rich
rich.print("\nHello from github.com/[bold green]manzt[/bold green]/[bold green]manzt[/bold green]!")
source "${HOME}/.cargo/env"