Summary and Setup
This workshop introduces uv which is a universal tool for installing Python and managing dependencies for Python projects. Without uv it can be cumbersome to install Python especially if different Python versions are needed. Also, managing Python packages can be a nightmare for large projects where it is essential that everyone has the same development environment. This workshop is for scientists, engineers, and programmers of all skill levels who want to learn about modern Python installation, dependency management, and reproducible environments for Python projects.
Learning Objectives
After attending this workshop, participants will be able to:
- Easily install Python on macOS, Linux, and Windows operating systems.
- Create Python scripts with dependencies that can run on any operating system.
- Manage 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 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.
The only prerequisite for this workshop is a basic understanding of the command line interface (CLI) in the terminal. All operating systems include a terminal application so please make sure you know how to use your terminal before attending this workshop. On macOS the included terminal app is just called Terminal. On Linux desktop environments the terminal app may be called konsole, console, terminal, or some variant of the word “terminal”. On Windows the included terminal application is called Windows Terminal.
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.