Project
Introducció
uv supports managing Python projects, which define their dependencies in a pyproject.toml file.
Creating a new project
You can create a new Python project using the uv init command:
Alternatively, you can initialize a project in the working directory:
uv will create the following files:
The main.py file contains a simple “Hello world” program. Try it out with uv run:
You're reading a preview.
Sign in with Google to read the full page. A Google account includes 5 free pages in total; students and teachers read their course pages without limit.
Sign in