Homepage › Forums › Articles › Programming › Python › Python Pip Commands
Tagged: package, package-management, pip, python
This topic was published by DevynCJohnson and viewed 3221 times since "". The last page revision was "".
Viewing 1 post (of 1 total)
- AuthorPosts
General Parameters Description -v,--verbose Verbose mode (More output) -q,--quiet Quiet mode (Less output) -h,--help Help/Options -V,--version Display version info --isolated Ignore environment variables and user configuration --log PATH Log file --proxy PROXY USER:PSWD@SERVER:PORT --retries X Retry connection X times --timeout SECONDS Try for X seconds before retry --cache-dir DIR Cache directory --no-cache-dir Disable cache --disable-pip-version-check Do not check Pip version --cert PATH Path to secondary CA bundle --client-cert CERT Path to SSL certificate --trusted-host HOSTNAME Consider the host trusted List Description pip list List packages -o,--outdated List outdated packages -u,--uptodate List current packages -e,--editable List editable items -l,--local List local virtualenv packages --user List user-site packages --pre Include developmental packages -i URL,--index-url URL PyPI URL --extra-index-url URL Additional package repos --no-index Ignore package index -f URL,--find-links URL Search for archives at the URL --allow-external PKG Allow package installation --allow-all-external Allow externally hosted packages to be installed --allow-unverified PKG Install insecure package --process-dependency-links Process links for dependencies Show Description pip show PKG Display package info -f, --files List package's files Search Description pip search KEYWORD Search PyPI for keyword --index URL Repo to search Uninstall Description pip uninstall PKG Uninstall/remove package -r FILE,--requirement FILE Uninstall packages listed in requirements file -y,--yes Assume “yes” for questions Freeze Description pip freeze Generate requirements file -r FILE,--requirement FILE Use the order given in the file -f URL,--find-links URL URL for finding packages -l,--local Only list virtualenv packages --user Only list user-site packages Install Description pip install PKG Install package pip install PKG==1.0 Install specific version pip install 'PKG>=1.0' At least, install version X -r FILE,--requirement FILE Install listed packages in the requirements file -b DIR,--build DIR Directory for building packages -t DIR,--target DIR Install in directory -d DIR, --download DIR Download only -U,--upgrade Update listed packages --force-reinstall Re-install packages when updating -I,--ignore-installed Re-install --no-deps Do not install dependencies --egg Install as an Egg --compile Compile *.py to *.pyc --no-compile Do not compile --no-use-wheel Do not use wheels --pre Include developmental versions --no-clean Do not clean build directories -i URL,--index-url URL PyPI URL --extra-index-url URL Additional URLs --no-index Only use --find-links URLs -f URL,--find-links URL Parse links for archives --allow-external PKG Install 3rd-party package --allow-all-external Install 3rd-party packages --allow-unverified PKG Install unverified package --process-dependency-links Process links for dependencies Further Reading
- Free PDF Cheatsheets - https://dcjtech.info/topic/free-pdf-cheatsheets/
- Python Tools and Software - https://dcjtech.info/topic/python-tools-and-software/
- Python File-Extensions - https://dcjtech.info/topic/python-file-extensions/
- Optimizing Python Scripts - https://dcjtech.info/topic/optimizing-python-scripts/
- Flake8 and Pylint Codes and Messages - https://dcjtech.info/topic/flake8-and-pylint-codes-and-messages/
- Pear, Pip, CPAN, and Others - https://dcjtech.info/topic/pear-pip-cpan-and-others/
- AuthorPosts
Viewing 1 post (of 1 total)