Tech C**P
15 subscribers
161 photos
9 videos
59 files
304 links
مدرس و برنامه نویس پایتون و لینوکس @alirezastack
Download Telegram
Some useful pip (python package manager) command:

show: used to know specific information about a module installed on your system:
$ pip show requests
Name: requests
Version: 2.13.0
Summary: Python HTTP for Humans.
Home-page: http://python-requests.org
Author: Kenneth Reitz
Author-email: me@kennethreitz.com
License: Apache 2.0
Location: /Library/Python/2.7/site-packages
Requires:

search: used to search a python package on pypi.python.org:
$ pip search "suds"
suds-aop (0.6.1) - Lightweight SOAP client (aop's fork)
...
...
...
NOTE: the above list is truncated.

list: list installed packages.
pip list

NOTE: you can grep on pip list to see if a specific package is installed or check its version:
pip list | grep "requests"

freeze: this command does the the same task as list, but its output can be placed inside of the requirements.txt.

uninstall: remove a package from your system:
pip uninstall requests

#python #pip #list #freeze #show #info #search