pip (package manager)

From Wikipedia, the free encyclopedia
  (Redirected from Pip (Python))
Jump to: navigation, search
Stable release 1.5.6
Written in Python
Operating system Cross-platform
Type Package management system
Website www.pip-installer.org

pip is a package management system used to install and manage software packages written in Python. Many packages can be found in the Python Package Index (PyPI).[1]

Command-line interface[edit]

One major advantage of pip is the ease of its command-line interface, which makes installing Python software packages as easy as issuing one command:

pip install some-package-name

Users can also easily implement the package's subsequent removal:

pip uninstall some-package-name

Most importantly pip has a feature to manage full lists of packages and corresponding version numbers, possible through a "requirements" file.[1] This permits the efficient re-creation of an entire group of packages in a separate environment (e.g. another computer) or virtual environment. This can be achieved with a properly formatted requirements.txt file and the following command:

pip install -r requirements.txt

Web hosting service use[edit]

Pip is used to support the use of Python in cloud web hosting, such as by Heroku.[2]

See also[edit]


  1. ^ a b "pip documentation". The pip developers. Retrieved 5 January 2012. 
  2. ^ "Getting Started with Python on Heroku/Cedar". Dev Center. Heroku. Retrieved 5 January 2012.