← Back to context

Comment by p4bl0

13 days ago

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/

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

  • sometimes, i want to share a script with a friend or with a coworker and setting everything up from scratch is such a pain.

    this makes everything SO much easier.

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