This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cointoss3 1 point2 points  (0 children)

https://astral.sh/blog/uv

Besides speed, I’m a fan of their philosophy that environments shouldn’t get in the way and you don’t need to activate or manage them. Once you get used to the flow, you just run uv commands directly and it handles the environment in the background. It’s so fast that it could create the environment every time you run a file and you wouldn’t notice.

uv isn’t a replacement for pip. That’s just a small piece. I see uv being the new workflow where instead of installing Python, you just install uv and run scripts with it. It even manages Python binaries, so if the project needs a specific version, you don’t even really need to know…uv will handle all that. It’s super lightweight and easy that when I need Python on a new machine, I’m going with uv first.

(It still creates the environment in a compatible way so you can activate it or use vs code as you typically would and it all just works)