An Unbiased Evaluation of Environment Management and Packaging Tools
1 min read
New highlights added March 30, 2024 at 9:34 AM
Python has one single-purpose tool that lets you install and manage Python versions: pyenv! (View Highlight)
Note: Not strictly true, as pyenv has a virtualenv plugin.
Venv is the built-in Python package for creating virtual environments. This means that it is shipped with Python and does not have to be installed by the user. (View Highlight)
Virtualenv tries to improve venv. It offers more features than venv and is faster and more powerful. (View Highlight)
Note: I think the pipenv-virtualenv plugin is just a wrapper for this.
PEP 518 introduced the usage of a pyproject.toml file. As a consequence, you always need a pyproject.toml file when creating a package. (View Highlight)
The single-purpose tool for package management is pip which is well known in the Python community. (View Highlight)
While pyproject.toml contains abstract dependencies, a lock file contains concrete dependencies. (View Highlight)