←back to thread

Fun with uv and PEP 723

(www.cottongeeks.com)
640 points deepakjois | 1 comments | | HN request time: 0.245s | source
Show context
jkingsman ◴[] No.44369910[source]
uv has been fantastic to use for little side projects. Combining uv run with `uv tool run` AKA `uvx` means one can fetch, install within a VM, and execute Python scripts from Github super easily. No git clone, no venv creation + entry + pip install.

And uv is fast — I mean REALLY fast. Fast to the point of suspecting something went wrong and silently errored, when it fact it did just what I wanted but 10x faster than pip.

It (and especially its docs) are a little rough around the edges, but it's bold enough and good enough I'm willing to use it nonetheless.

replies(5): >>44370062 #>>44374562 #>>44375253 #>>44391468 #>>44475504 #
1. nebben64 ◴[] No.44475504[source]
not sure if OP will see this, but how does uv or uvx forgo `git clone` ? You still need to clone whatever you're trying to run, or am I missing something.