diff --git a/pages/common/pip-check.md b/pages/common/pip-check.md new file mode 100644 index 00000000000000..8e055e95964799 --- /dev/null +++ b/pages/common/pip-check.md @@ -0,0 +1,12 @@ +# pip check + +> Check installed packages for broken or incompatible dependencies. +> More information: . + +- Check for broken or missing requirements: + +`pip check` + +- Check and log output to a file: + +`pip check --log {{path/to/file}}` diff --git a/pages/common/pip-config.md b/pages/common/pip-config.md new file mode 100644 index 00000000000000..d1c8c45f7ce71b --- /dev/null +++ b/pages/common/pip-config.md @@ -0,0 +1,32 @@ +# pip config + +> Manage local and global configuration for pip. +> More information: . + +- List all configuration values: + +`pip config list` + +- Show configuration files and their values: + +`pip config debug` + +- Set the value for a command option: + +`pip config set {{command.option}} {{value}} {{--global|--user|--site}}` + +- Get the value for a command option: + +`pip config get {{command.option}} {{--global|--user|--site}}` + +- Unset the value for a command option: + +`pip config unset {{command.option}} {{--global|--user|--site}}` + +- Edit the configuration file with the default editor: + +`pip config edit {{--global|--user|--site}}` + +- Edit the configuration file with a specific editor: + +`pip config edit {{--global|--user|--site}} --editor {{path/to/editor/binary}}` diff --git a/pages/common/pip-debug.md b/pages/common/pip-debug.md new file mode 100644 index 00000000000000..ca7344c1a71c2b --- /dev/null +++ b/pages/common/pip-debug.md @@ -0,0 +1,25 @@ +# pip debug + +> Display debug information about the current pip environment and configuration. +> Intended for debugging; options and output may change without notice. +> More information: . + +- Show general debug information: + +`pip debug` + +- Show debug information for a specific platform: + +`pip debug --platform {{platform}}` + +- Show debug information for a specific Python version: + +`pip debug --python-version {{version}}` + +- Show debug information for a specific Python implementation: + +`pip debug --implementation {{implementation}}` + +- Show debug information for a specific ABI: + +`pip debug --abi {{abi}}` diff --git a/pages/common/pip-download.md b/pages/common/pip-download.md new file mode 100644 index 00000000000000..9d52aab6018550 --- /dev/null +++ b/pages/common/pip-download.md @@ -0,0 +1,24 @@ +# pip download + +> Download Python packages without installing them. +> More information: . + +- Download a package wheel or source archive to the current directory: + +`pip download {{package}}` + +- Download a specific version of a package: + +`pip download {{package}}=={{version}}` + +- Download a package and its dependencies to a specific directory: + +`pip download {{package}} {{[-d|--dest]}} {{path/to/directory}}` + +- Download a package for a specific platform and Python version: + +`pip download {{package}} --only-binary :all: --platform {{platform}} --python-version {{version}}` + +- Download a package from a specific index URL: + +`pip download {{package}} {{[-i|--index-url]}} {{url}}`