3 ms·
I can run `uvx sometool` without fear because I know that it'll take a few seconds to create a venv, download all the dependencies, and run the tool. uv's speed
by stavros 11mo ago
I can run `uvx sometool` without fear because I know that it'll take a few seconds to create a venv, download all the dependencies, and run the tool. uv's speed has literally changed how I work with Python.
- quectophoton 11mo agoI wouldn't say without fear, since you're one typo away from executing a typo-squatted malicious package. I do use it on CI/CD pipelines, but I wouldn't dare type uvx commands myself on a daily basis.
- stavros 11mo agouvx isn't more risky than `pip install`, which is what I used before.
- pnt12 11mo agoBut with pip you only need to be careful on install - with uvx you need to be careful forever. I'm a big fan of uv, but don't like that part of uvx. (makes me wonder if a small wrapper can do this - safe uvx, or suvx for short)
- stavros 11mo agoI generally tend to let the shell autocomplete, so I don't type it out every time, but I see your point. If I use a program more than once or twice, I install it.