Working on projects (uv Getting Started)
https://docs.astral.sh/uv/guides/projects/
#uv
Creating a new project
uv init
Project structure
積ん読
Managing dependencies
uv add / remove
Running commands
uv run
uv run can be used to run arbitrary scripts or commands in your project environment.
uv run guarantees that your command is run in a consistent, locked environment.
例:uv run -- flask
仮想環境を有効にした例も載っている
👉 Projects (uv Concepts) (Running Commands)
Building distributions
uv build
uv build can be used to build source distributions and binary distributions (wheel) for your project.