-
Notifications
You must be signed in to change notification settings - Fork 2.9k
uvx --from functionality for uv run --script #12456
Copy link
Copy link
Open
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionality
Description
Summary
uvx has an awesome feature where you can specify uvx --from to include scripts hosted remotely and within private github/bitbucket repos as long as you have proper ssh access setup.
For example:
uvx --from git+ssh://git@bitbucket.org/account/repo command
It would be great if a similar ability was added for uv run --script git+ssh://git@bitbucket.org/account/... to allow execution of scripts formatted with PEP 723. Requirements for PEP 723 formatted scripts may differ from the projects that contain them.
Example
Perhaps
uv run --from git+ssh://git@bitbucket.org/account/repo --script x/y/z.py
Or
uv run --script git+ssh://git@bitbucket.org/account/repo/x/y/z.py
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvement to existing functionalityNew feature or improvement to existing functionality