python-pip
pip is the Python package installer for installing, managing, and uninstalling Python packages. It supports virtual environments, version control repositories, and non-egg sources.
Description
python-pip provides pip, the standard package manager for Python packages. The python3-pip package delivers the Python 3 version, which integrates seamlessly with virtualenv, avoids partial installs, saves package state for reproducibility, and supports installation from diverse sources including version control repositories.
Key use cases include installing Python dependencies for security tools, managing project environments, and generating lock files for consistent deployments. The tool offers comprehensive commands for package lifecycle management from installation to inspection and cache management.
pip operates through distinct packages: python3-pip for core functionality (9.53 MB) and python3-pip-whl (1.46 MB) for wheel support in virtual environments, ensuring compatibility with PEP 427 standards.
How It Works
pip manages Python packages by resolving dependencies, downloading from PyPI or custom indexes, and installing wheels or source distributions. It maintains an isolated wheel cache, supports hash verification for security, and generates lock files capturing exact package versions and dependencies for reproducible environments. Virtualenv integration ensures isolated Python environments.
Installation
sudo apt install python3-pipFlags
Examples
pip -hpip3 -hpip installpip lockpip downloadpip uninstallpip freezepip list