←back to thread

/usr/bin/env -S uv run

(simonwillison.net)
109 points jcbhmr | 6 comments | | HN request time: 1.09s | source | bottom
1. ginko ◴[] No.42202398[source]
Doesn't look like my Ubuntu machine comes with 'uv' installed at least. Can't say I've ever heard of it either.
replies(1): >>42202620 #
2. austinjp ◴[] No.42202620[source]
It's the new hotness in Python package management:

https://docs.astral.sh/uv/

replies(1): >>42202682 #
3. fmajid ◴[] No.42202682[source]
https://xkcd.com/1987/

https://xkcd.com/927/

replies(1): >>42202720 #
4. teroshan ◴[] No.42202720{3}[source]
`uv` is not a new standard though, just a wrapper.
replies(2): >>42202814 #>>42202947 #
5. tspng ◴[] No.42202814{4}[source]
`uv` is definitely not a wrapper. It's written from scratch. If you mean by wrapper that it's mostly compatible with pip (using `uv pip`), that's one of their adoption strategies to make it easier to switch to. But it does a lot more than that.
6. wasyl ◴[] No.42202947{4}[source]
I mean, it's right there as the first highlight in the docs

> A single tool to replace pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv, and more.