From 5ea712752e16ae48ea88681302c9d1af92cb7e13 Mon Sep 17 00:00:00 2001 From: Sadeeed Date: Sat, 4 Oct 2025 03:01:58 +0500 Subject: [PATCH 1/9] pip-check, pip-config: add page --- pages/common/pip-check.md | 12 ++++++++++++ pages/common/pip-config.md | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 pages/common/pip-check.md create mode 100644 pages/common/pip-config.md 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..070cc42b64e984 --- /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 {{--global| --user| --site}} config set {{command.option}} {{value}}` + +- Get the value for a command option: + +`pip {{--global| --user| --site}} config get {{command.option}}` + +- Unset the value for a command option: + +`pip {{--global| --user| --site}} config unset {{command.option}}` + +- Edit the configuration file with the default editor: + +`pip {{--global| --user| --site}} config edit` + +- Edit the configuration file with a specific editor: + +`pip {{--global| --user| --site}} --editor {{path/to/editor/binary}} config edit` From 325ce9e8c14670dba9004c849d3bdcef7c88fe06 Mon Sep 17 00:00:00 2001 From: Sadeeed Date: Sat, 4 Oct 2025 03:02:18 +0500 Subject: [PATCH 2/9] pip-debug, pip-download: add page --- pages/common/pip-debug.md | 25 +++++++++++++++++++++++++ pages/common/pip-download.md | 24 ++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 pages/common/pip-debug.md create mode 100644 pages/common/pip-download.md 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..301590f49f0c50 --- /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 {{[-d|--dest]}} {{path/to/directory}} {{package}}` + +- Download a package for a specific platform and Python version: + +`pip download --platform {{platform}} --python-version {{version}} {{package}}` + +- Download a package from a specific index URL: + +`pip download {{[-u|--index-url]}} {{url}} {{package}}` From 2f239e26b8e6d2917a647ae5314ae114685f28b9 Mon Sep 17 00:00:00 2001 From: Sadeed Date: Sat, 4 Oct 2025 14:43:20 +0500 Subject: [PATCH 3/9] Update pages/common/pip-config.md Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/common/pip-config.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/common/pip-config.md b/pages/common/pip-config.md index 070cc42b64e984..19c78a09066cd5 100644 --- a/pages/common/pip-config.md +++ b/pages/common/pip-config.md @@ -13,20 +13,20 @@ - Set the value for a command option: -`pip {{--global| --user| --site}} config set {{command.option}} {{value}}` +`pip {{--global|--user|--site}} config set {{command.option}} {{value}}` - Get the value for a command option: -`pip {{--global| --user| --site}} config get {{command.option}}` +`pip {{--global|--user|--site}} config get {{command.option}}` - Unset the value for a command option: -`pip {{--global| --user| --site}} config unset {{command.option}}` +`pip {{--global|--user|--site}} config unset {{command.option}}` - Edit the configuration file with the default editor: -`pip {{--global| --user| --site}} config edit` +`pip {{--global|--user|--site}} config edit` - Edit the configuration file with a specific editor: -`pip {{--global| --user| --site}} --editor {{path/to/editor/binary}} config edit` +`pip {{--global|--user|--site}} --editor {{path/to/editor/binary}} config edit` From 5c0d86d7b69b291709afe1b0780c3e3906fba322 Mon Sep 17 00:00:00 2001 From: Sadeed Date: Sat, 4 Oct 2025 14:45:29 +0500 Subject: [PATCH 4/9] pip-download: fix index-url shorthand Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com> --- pages/common/pip-download.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/pip-download.md b/pages/common/pip-download.md index 301590f49f0c50..a345891b095453 100644 --- a/pages/common/pip-download.md +++ b/pages/common/pip-download.md @@ -21,4 +21,4 @@ - Download a package from a specific index URL: -`pip download {{[-u|--index-url]}} {{url}} {{package}}` +`pip download {{[-i|--index-url]}} {{url}} {{package}}` From 40822d6ceeae52f1f944636fb884125b5658daac Mon Sep 17 00:00:00 2001 From: Sadeeed Date: Sat, 4 Oct 2025 14:55:00 +0500 Subject: [PATCH 5/9] pip-download: fix platform and python version example --- pages/common/pip-download.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/pip-download.md b/pages/common/pip-download.md index a345891b095453..914b969f93f517 100644 --- a/pages/common/pip-download.md +++ b/pages/common/pip-download.md @@ -17,7 +17,7 @@ - Download a package for a specific platform and Python version: -`pip download --platform {{platform}} --python-version {{version}} {{package}}` +`pip download --only-binary=:all: --platform {{platform}} --python-version {{version}} {{package}}` - Download a package from a specific index URL: From 4e0fcfbec21ae56ef2c35945c0ecc3f53e3df698 Mon Sep 17 00:00:00 2001 From: Sadeed Date: Sun, 5 Oct 2025 23:43:36 +0500 Subject: [PATCH 6/9] pip-download: update example Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/common/pip-download.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/pip-download.md b/pages/common/pip-download.md index 914b969f93f517..76a432b45ee1e8 100644 --- a/pages/common/pip-download.md +++ b/pages/common/pip-download.md @@ -17,7 +17,7 @@ - Download a package for a specific platform and Python version: -`pip download --only-binary=:all: --platform {{platform}} --python-version {{version}} {{package}}` +`pip download --only-binary :all: --platform {{platform}} --python-version {{version}} {{package}}` - Download a package from a specific index URL: From bb379140bcf76b64ee281741795ffd54e81c36d5 Mon Sep 17 00:00:00 2001 From: Sadeeed Date: Sun, 5 Oct 2025 23:51:13 +0500 Subject: [PATCH 7/9] pip-config: fix argument order --- pages/common/pip-config.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/common/pip-config.md b/pages/common/pip-config.md index 19c78a09066cd5..e2dde5d880ed58 100644 --- a/pages/common/pip-config.md +++ b/pages/common/pip-config.md @@ -13,20 +13,20 @@ - Set the value for a command option: -`pip {{--global|--user|--site}} config set {{command.option}} {{value}}` +`pip config {{--global|--user|--site}} set {{command.option}} {{value}}` - Get the value for a command option: -`pip {{--global|--user|--site}} config get {{command.option}}` +`pip config {{--global|--user|--site}} get {{command.option}}` - Unset the value for a command option: -`pip {{--global|--user|--site}} config unset {{command.option}}` +`pip config {{--global|--user|--site}} unset {{command.option}}` - Edit the configuration file with the default editor: -`pip {{--global|--user|--site}} config edit` +`pip config {{--global|--user|--site}} edit` - Edit the configuration file with a specific editor: -`pip {{--global|--user|--site}} --editor {{path/to/editor/binary}} config edit` +`pip config {{--global|--user|--site}} --editor {{path/to/editor/binary}} edit` From 7c6fa1222a3b1da9a899ed36443480e4eca4f0ca Mon Sep 17 00:00:00 2001 From: Sadeeed Date: Tue, 7 Oct 2025 12:35:51 +0500 Subject: [PATCH 8/9] pip-config: update options order --- pages/common/pip-config.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/common/pip-config.md b/pages/common/pip-config.md index e2dde5d880ed58..d1c8c45f7ce71b 100644 --- a/pages/common/pip-config.md +++ b/pages/common/pip-config.md @@ -13,20 +13,20 @@ - Set the value for a command option: -`pip config {{--global|--user|--site}} set {{command.option}} {{value}}` +`pip config set {{command.option}} {{value}} {{--global|--user|--site}}` - Get the value for a command option: -`pip config {{--global|--user|--site}} get {{command.option}}` +`pip config get {{command.option}} {{--global|--user|--site}}` - Unset the value for a command option: -`pip config {{--global|--user|--site}} unset {{command.option}}` +`pip config unset {{command.option}} {{--global|--user|--site}}` - Edit the configuration file with the default editor: -`pip config {{--global|--user|--site}} edit` +`pip config edit {{--global|--user|--site}}` - Edit the configuration file with a specific editor: -`pip config {{--global|--user|--site}} --editor {{path/to/editor/binary}} edit` +`pip config edit {{--global|--user|--site}} --editor {{path/to/editor/binary}}` From 456b43255f161866360bf2608415b195fcc86ff3 Mon Sep 17 00:00:00 2001 From: Sadeeed Date: Tue, 7 Oct 2025 12:45:40 +0500 Subject: [PATCH 9/9] pip-download: update options order --- pages/common/pip-download.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/common/pip-download.md b/pages/common/pip-download.md index 76a432b45ee1e8..9d52aab6018550 100644 --- a/pages/common/pip-download.md +++ b/pages/common/pip-download.md @@ -13,12 +13,12 @@ - Download a package and its dependencies to a specific directory: -`pip download {{[-d|--dest]}} {{path/to/directory}} {{package}}` +`pip download {{package}} {{[-d|--dest]}} {{path/to/directory}}` - Download a package for a specific platform and Python version: -`pip download --only-binary :all: --platform {{platform}} --python-version {{version}} {{package}}` +`pip download {{package}} --only-binary :all: --platform {{platform}} --python-version {{version}}` - Download a package from a specific index URL: -`pip download {{[-i|--index-url]}} {{url}} {{package}}` +`pip download {{package}} {{[-i|--index-url]}} {{url}}`