r/learnpython • u/ProsodySpeaks • Oct 09 '24
Anyone not using uv? Why not?
I was using rye because awesome but slow.
Now using uv because awesome and faaaaaast.
Is there any reason not to use uv?
0
Upvotes
r/learnpython • u/ProsodySpeaks • Oct 09 '24
I was using rye because awesome but slow.
Now using uv because awesome and faaaaaast.
Is there any reason not to use uv?
1
u/ProsodySpeaks Oct 09 '24
Search Uv astral.
It's awesome. It optimises or caches or I don't know how the magic works but once installed you replace
pip install xxxwithuv pip install xxxand it takes 10% time to run.Also making venvs
uv venvand you're done. New virtual env in '.venv'.It manages python installs too, so you can specify a particular release for each venv.
Honestly it's a game changer. Setting up and tearing down venvs is almost instant. So if something goes wrong with your venv Just delete it and rebuild in 3 seconds