Summary and Schedule
This lesson introduces uv which is a universal tool for installing Python and managing dependencies for Python projects.
Learning Objectives
After attending this workshop, participants will be able to:
- Easily install Python on macOS, Linux, and Windows operating systems.
- Manage package dependencies for a Python project without worrying about version conflicts.
- Install Python packages as command line tools.
- Create a reproducible and maintainable Python environment for collaborative project development.
What is uv?
The uv tool is a fast Python package and project manager tool written in Rust. It is developed by Astral who also created ruff (linting and formatting) and ty (type checker). It replaces tools like pip, tox, conda, pipenv, poetry, pdm, pipx, and more. Different versions of Python can easily be managed with uv. A global cache is utilized for dependencies to prevent excessive package downloads and disk usage. It is the most simple and easiest way to install Python and run Python code and tools.
Setup Instructions | Download files required for the lesson | |
Duration: 00h 00m | 1. Operating System Python |
Why not use the Python included with your operating system? Why should I use a separate installation of Python? :::::: |
Duration: 00h 07m | 2. Running Python Scripts |
What is a Python script? How can I run a Python script? :::::: |
Duration: 00h 14m | 3. Working with Python Projects |
What is a Python project? How do I create a Python project and run it? :::::: |
Duration: 00h 26m | 4. Using Python Tools |
What is a Python tool? How can I install and run a Python tool? :::::: |
Duration: 00h 38m | Finish |
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.
Installing uv
The only requirement for this workshop is the uv tool. Detailed installation instructions are given in the uv documentation but the main macOS, Linux, and Windows installation commands are presented below.
Install uv on macOS and Linux with:
Install uv on Windows with:
You may need to restart your terminal to ensure that uv was
installed. Check the installation by displaying the version number using
the --version
option as shown below. If the command
displays the uv version number then the installation was successful.
OUTPUT
uv 0.8.4 (e176e1714 2025-07-30)
That’s it! You are now ready to run Python code. With uv you do not need to worry about installing Python or activating virtual environments, uv handles all of this for you.