logoalt Hacker News

p4bl011/21/20242 repliesview on HN

It's a neat trick, but it still depends on uv being installed and network connectivity.

What's the advantage of this that makes it worth despite these constraints, compared to e.g. using pyinstaller [1] to build and distribute a single executable file with the python interpreter and all the dependencies of your project bundled in it in the exact versions you chose in your development virtual environment?

[1] https://pyinstaller.org/


Replies

chippiewill11/21/2024

It's not for production grade stuff, it's for small scripts you want to send to someone for a little job.

show 1 reply
Hikikomori11/21/2024

Can just share a clear text script with a colleague over slack and let him just run it without extra steps.