cosmofy bundles your Python app using uv into a single executable which runs on Linux, macOS, and Windows using Cosmopolitan libc.
uv tool install cosmofy # recommended
# or
pip install cosmofy # classicOr download the portable binary.
Define your entry point in pyproject.toml:
[project.scripts]
my_command = "my_command.__main__:main"Bundle your project:
uvx cosmofy bundle # produces dist/my_commandOr bundle a script:
uv init --script myscript.py
uvx cosmofy bundle --script myscript.py # produces dist/myscript