talira

The package installer for Python

open sourceMITself-hostablefree

pip is the package installer for Python: it installs packages from the Python Package Index and other indexes, from local projects and from version control. It comes with Python from python.org and in every virtual environment through the ensurepip module. Requirements files and hash-checking give repeatable, secure installs, its dependency resolver works out compatible versions, and commands cover uninstalling, listing, freezing, building wheels, downloading, inspecting environments and writing lock files. Its maintainers say it's an installer, not a workflow management tool. It's maintained by the Python Packaging Authority under the MIT licence.

Problems it solves

  • install a Python library from PyPI into my project
  • reinstall exactly the same package versions on another machine from a requirements file
  • install a package straight from a Git repository
  • make sure the packages I install haven't been tampered with
  • find out which installed Python packages have conflicting dependencies
  • install my own project in editable mode while I develop it

Features

  • installs from PyPI, other indexes, local projects and version control
  • requirements files and repeatable installs
  • hash-checking mode for secure installs
  • dependency resolver
  • pip lock, freeze, inspect, wheel and download commands
  • bundled with Python through ensurepip

Limitations

  • Isn't a workflow management tool: it doesn't manage projects or environments for you1

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what pip does.

  1. Poetry Python dependency management and packaging made easy
  2. pipx Install and run Python applications in isolated environments
  3. uv An extremely fast Python package and project manager, written in Rust.
  4. Composer A Dependency Manager for PHP
  5. WinGet The Windows Package Manager
  6. APT The main command-line package manager for Debian and its derivatives

Compare pip with the top 3