News for hackers. Stuff that matters.
Re:Fun with uv and PEP 723 by deepakjois on Tuesday June 24, 2025 @04:28PM (#44370677)
uvx is useful to run scripts inside PyPi packages. It does not support running Python scripts directly

You can use uvx run scripts with a combination of the --with flag to specify the dependencies and invoking python directly. For e.g

uvx --with youtube-transcript-api python transcript.py

But you wont get the benefit of PEP 723 metadata.

There are no comments on this comment yet.