new pip switch to list installed packages #795

Closed
markhu opened this Issue Feb 7, 2013 · 1 comment

2 participants

@markhu

I manage several machines with pip, and somtimes find myself running this command:

pip search . | egrep -B1 'INSTALLED|LATEST'

which is slow since it processes the entire repo.

It would be great to have a --list switch which provided similar output but more efficiently.

Sample output:

$ pip search . | egrep -B1 'INSTALLED|LATEST'
zope.interface            - Interfaces for Python
  INSTALLED: 3.5.1
  LATEST:    4.0.3
--
pip                       - pip installs packages. Python packages. An easy_install replacement
  INSTALLED: 1.2.1 (latest)
--
numpy                     - NumPy: array processing for numbers, strings, records, and objects.
  INSTALLED: 1.5.1
  LATEST:    1.6.2
--
PyRSS2Gen                 - A Python library for generating RSS 2.0 feeds.
  INSTALLED: 1.0.0 (latest)
@qwcode

so check out pip list which is currently unreleased. I think that's what you want.
http://www.pip-installer.org/en/latest/usage.html#pip-list

also see pip show
http://www.pip-installer.org/en/latest/usage.html#pip-show

due out in v1.3 which is coming soonish....

@qwcode qwcode closed this Feb 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment