Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Exactly as sibling comment says, e.g. let's pretend the popular httpx cli was my project to deploy and run on the server. With only uv installed, i can:

    uv tool run "httpx[cli] @ git+https://github.com/encode/httpx"
To be clear in this example i'm not pulling a package published on pypi, i'm running the HEAD of that git repo (i could do a branch or tag instead). I could use the "uvx" shortcut instead of "uv tool run". I could specify a specific python version (either one already installed on this OS or choose a dist which uv downloads for me).

This caches the deps in an isolated virtual env for me. It'll only download the deps in the first run.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: