Skip to content

Idea: uvfile (uv + embedded Python script, similar to llamafile) #1396

@phirsch

Description

@phirsch

Feel free to close if too wild/off-topic.

I was wondering whether there would be a place for something similar to llamafile (i.e. bundling an APE executable along with data), but applied to uv.

This would allow to distribute stand-alone python scripts as single-file multi-platform executables.
Since uv already accepts self-describing Python files including PEP-723 metadata headers to specify dependencies, and it is a standalone static binary, it looks like an ideal basis for this kind of tool (which I haven't seen implemented anywhere yet).

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions