Getting Started¶
Install¶
First, make sure you have uv installed.
Using uvx (recommended)¶
Use the latest version without installing:
Using uv tool¶
Install globally:
Using pip¶
Direct Binary Download¶
You can also download the cosmofy binary directly.
Shell Completions¶
Enable tab completion for your shell:
Quick Example¶
Bundling a Project¶
First, define your entry point in pyproject.toml:
Then bundle:
Bundling a Script¶
You can also bundle individual Python files:
uv init --script myscript.py # or: uv add --script myscript.py <dependency>
uvx cosmofy bundle --script myscript.py # produces dist/myscript
Next Steps¶
- Bundling - Learn more about bundling options
- Self-Updater - Add automatic updates to your bundle
- CLI Reference - See all available commands