Loading topic
uv init creates, how the flags change that, and the errors people hit most often.2 min readuv init and have read about the [project] table in pyproject.toml. It covers two separate settings that people often confuse, and how uv picks an interpreter from them.2 min read[project] and uv.lock are, and that you have a project created with uv init. It covers how uv add and uv remove change your project, and the errors you are most likely to hit.2 min readuv init, add runtime dependencies with uv add, and read the [project] table in pyproject.toml. It covers how to keep tools such as test runners and linters out of the dependencies your users install.2 min readuv add and know that pyproject.toml lists the packages your project needs.2 min readuv init, and have dependencies added with uv add. It covers where uv puts the project environment and how uv sync and uv run keep it in line with your files.2 min readuv init, read a pyproject.toml file, and add dependencies with uv add. Here you will turn a project into an installable package and give it a command that runs from the terminal.2 min readpyproject.toml, and know that a package has a src layout. It covers the [build-system] table and what uv build produces.2 min readuv add records dependencies in pyproject.toml, and you have seen uv.lock in a project directory. A CI job should install the same package versions you tested locally. The lockfile makes that possible.2 min readuv add, you know what pyproject.toml and uv.lock are, and you have used pip or a virtual environment before.2 min readuv init, add dependencies with uv add, and read [project] and [build-system] tables. It also assumes you know what uv.lock records.2 min readuv init, dependencies, and uv run. It covers running Python command-line tools that are not part of your project.2 min readuv build and that your pyproject.toml has a [build-system] table, as covered earlier. You should also know what a wheel and an sdist are.2 min readuv.lock. You will learn when to use uv pip instead of the project commands, and how its commands map to pip.2 min readpip. You should also have read the earlier chapters on pyproject.toml, uv add, dependency groups, and uv.lock. The goal is to move an existing project that uses requirements.txt to a uv-managed pyproject.toml without c2 min read