Y
Hacker News
new
|
ask
|
show
|
jobs
by
thefreeman
24 days ago
You can also define required dependencies in a doc block at the top of the file and then just “uv run main” and it will automatically install and cache any dependencies and run.
https://docs.astral.sh/uv/guides/scripts/