Skip to content

uvx --from functionality for uv run --script #12456

@j99ca

Description

@j99ca

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement to existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions