tools

Tools I use.

Here are some tools I use. I’m putting them here so I can stop Googling them every time I need a command.

Download YouTube videos

uv tool install yt-dlp   --upgrade
uvx yt-dlp -f best -o "video.mp4" "https://www.youtube.com/watch?v=u2cB-9uM90Y"

LLM assisted coding for free

uv tool install --force --python python3.12 aider-chat@latest
aider --model gemini/gemini-exp-1206

Summary details about a CSV file

Produces a report in Markdown format. Useful for understanding and telling an LLM the structure of a CSV file. I built this one.

uv tool install describecsv
describecsv sample.csv

Random rows from a CSV file

Prints the first row and then a few random rows from a CSV file. Useful for inspecting CSV and feeding to LLMs. I built this one.

brew install randomrows
randomrows sample.csv

OCR a modern PDF to Markdown

uv tool install docling
docling some.pdf --from pdf --to md --image-export-mode placeholder

OCR a scanned PDF to Markdown using a Vision LLM

Works with most APIs and Ollama. I built this one.

uv tool install vllmocr
vllmocr scan.jpg -m haiku
vllmocr scan.pdf -p openai -m gpt-4o

EPUB to Markdown using Pandoc

brew install pandoc
pandoc sample.epub -t gfm-raw_html --wrap=none   -o sample.md

Build a Python app and release to PyPI

python3 -m build
python3 -m twine upload dist/*