Skip to content

UV package & Commands

  • [x] Make a list of commands and what they do

  • [x] tested uv install python

    • [x] tested uv run

    • [x] uv add tested

    • [x] tested uv lock

    • [x] tested uv tree

    • [x] Understand project structure

  • [ ] Understand how distribution works

Python projects are typically distributed as both source distributions (sdists) and binary distributions (wheels). The former is typically a .tar.gz or .zip file containing the project's source code along with some additional metadata, while the latter is a .whl file containing pre-built artifacts that can be installed directly.

  • [ ] Understandin entry points

https://docs.astral.sh/uv/concepts/projects/config/#entry-points

The above did not work, then a bit of digging found below

https://docs.astral.sh/uv/concepts/projects/init/#applications

The projects are created in a fashion to be packaged or to be used as app

When you want the package like those you see in mcp servers

With the above understanding pushing to the pypi is for another day altogether

https://packaging.python.org/en/latest/guides/section-build-and-publish/