6 ms·
There's so many more! 1. `uvx --from git+https://github.com/httpie/cli https://github.com/httpie/cli httpie` 2. https://simonwillison.net/2024/Aug/21/usrbinenv
by emiller88 2y ago
There's so many more!
1. `uvx --from git+https://github.com/httpie/cli https://github.com/httpie/cli httpie`
2. https://simonwillison.net/2024/Aug/21/usrbinenv-uv-run/ https://simonwillison.net/2024/Aug/21/usrbinenv-uv-run/ uv in a shebang
- throwup238 2y agoThe uv shebang is definitely the killer feature for me, especially with so much of the AI ecosystem tied up in Python. Before, writing Python scripts was a lot more painful requiring either a global scripts venv and shell scripts to bootstrap them, or a venv per script. I’m sure it was already possible with shebangs and venv before, but uv really brings the whole experience together for me so I can write python scripts as freely as bash ones.
- FergusArgyll 2y agoYes! since that Simon Willison article, I've slowly been easing all my scripts into just using a uv shebang, and it rocks! I've deleted all sorts of .venvs and whatnot. really useful
- dingdingdang 2y agoSuper neat re Willison article.. would something like this work under powershell though?!