Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions pages/common/pip-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# pip check

> Check installed packages for broken or incompatible dependencies.
> More information: <https://pip.pypa.io/en/stable/cli/pip_check/>.

- Check for broken or missing requirements:

`pip check`

- Check and log output to a file:

`pip check --log {{path/to/file}}`
32 changes: 32 additions & 0 deletions pages/common/pip-config.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# pip config

> Manage local and global configuration for pip.
> More information: <https://pip.pypa.io/en/stable/cli/pip_config/>.

- 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`
25 changes: 25 additions & 0 deletions pages/common/pip-debug.md
Original file line number Diff line number Diff line change
@@ -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: <https://pip.pypa.io/en/stable/cli/pip_debug/>.

- 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}}`
24 changes: 24 additions & 0 deletions pages/common/pip-download.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# pip download

> Download Python packages without installing them.
> More information: <https://pip.pypa.io/en/stable/cli/pip_download/>.

- 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 --only-binary=:all: --platform {{platform}} --python-version {{version}} {{package}}`

- Download a package from a specific index URL:

`pip download {{[-i|--index-url]}} {{url}} {{package}}`