←back to thread

/usr/bin/env -S uv run

(simonwillison.net)
123 points jcbhmr | 5 comments | | HN request time: 0.838s | source
Show context
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 #
1. austinjp ◴[] No.42202620[source]
It's the new hotness in Python package management:

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

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

https://xkcd.com/927/

replies(1): >>42202720 #
3. teroshan ◴[] No.42202720[source]
`uv` is not a new standard though, just a wrapper.
replies(2): >>42202814 #>>42202947 #
4. tspng ◴[] No.42202814{3}[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.
5. wasyl ◴[] No.42202947{3}[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.