List of very handy uvx use-cases

Open Marimo

uvx marimo edit --sandbox

Also

uvx marimo tutorial intro

images/2024/12/22/1734873549-1.png

iPython with packages

uvx --with pandas,yfinance ipython

images/2024/12/22/1734873549-2.png

Convert files to markdown

uvx markitdown ssrn-4990063.pdf

Aider.chat

uvx aider

Clean up .pyc files and pycache directories

uvx pyclean .

Collected from this Reddit thread

Run MLX VLM Models

uv run --with mlx-vlm \
  python -m mlx_vlm.generate \
  --model Qwen/Qwen2-VL-2B-Instruct \
  --max-tokens 1000 \
  --temp 0.0 \
  --image ~/Documents/Screenshots/2024/11/01/20241101_082217.png \
  --prompt "Describe image in detail, include all text"
uv run --with mlx-vlm --with torch \
  python -m mlx_vlm.generate \
  --model mlx-community/SmolVLM-Instruct-bf16 \
  --max-tokens 1000 \
  --temp 0.0 \
  --image https://image.png \
  --prompt "Describe image in detail, include all text"