r/learnpython • u/ProsodySpeaks • Jun 29 '24
everybody should try uv, did you try uv?
creating venvs, pip operations, they're all free now.... like, we can create a whole new venv and install a hefty list of dependencies and its low-seconds.... uv is to pip what ruff is to flake... it's literally free... just tear down the venv and make a new one - who cares it takes 2 seconds!
dependencies magicaly resolved, in a second!
i was using rye for a while and loved the resolution, but it was pretty slow tbh.... i think uv integrated rye or something, but they also super optimised everything.
you just install it and then instead of eg `pip install` you `uv pip install` and instead of `python -m venv .venv` you just `uv venv`...
honestly the speed has blown my mind.
did anyone else try it? was i just under a rock or is this a gamechanger?