Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The first step on working with Python project is the dependency management: Managing Python dependencies. In this way you can have a reproducible environment that can be be shared with other colleagues or used in automation tools.


Table of Contents

Using uv

Code Block
uv add <package-name>

This does two things at once:

  • installs the package

  • updates your pyproject.toml and uv.lock (similar to Pipenv’s Pipfile/Pipfile.lock)

Using Pipenv

Code Block
pipenv install <package_name>

...