Name Description Size
__init__.py Package containing all pip commands 3882
cache.py Inspect and manage pip's wheel cache. Subcommands: - dir: Show the cache directory. - info: Show information about the cache. - list: List filenames of packages stored in the cache. - remove: Remove one or more package from the cache. - purge: Remove all items from the cache. ``<pattern>`` can be a glob expression or a package name. 8107
check.py Verify installed packages have compatible dependencies. 2268
completion.py # pip {shell} completion start{script}# pip {shell} completion end 4287
configuration.py Manage local and global configuration. Subcommands: - list: List the active configuration (or from the file specified) - edit: Edit the configuration file in an editor - get: Get the value associated with command.option - set: Set the command.option=value - unset: Unset the value associated with command.option - debug: List the configuration files and values defined under them Configuration keys should be dot separated command and option name, with the special prefix "global" affecting any command. For example, "pip config set global.index-url https://example.org/" would configure the index url for all commands, but "pip config set download.timeout 10" would configure a 10 second timeout only for "pip download" commands. If none of --user, --global and --site are passed, a virtual environment configuration file is used if one is active and the file exists. Otherwise, all modifications happen to the user file by default. 9766
debug.py Log the actual version and print extra info if there is a conflict or if the actual version could not be imported. 6797
download.py Download packages from: - PyPI (and other indexes) using requirement specifiers. - VCS project urls. - Local project directories. - Local or remote source archives. pip also supports downloading from "requirements files", which provide an easy way to specify a whole environment to be downloaded. 5273
freeze.py Output installed packages in requirements format. packages are listed in a case-insensitive sorted order. 3203
hash.py Compute a hash of a local package archive. These can be used with --hash in a requirements file to do repeatable installs. 1703
help.py Show help for commands 1132
index.py Inspect information available from package indexes. 4731
inspect.py Inspect the content of a Python environment and produce a report in JSON format. 3189
install.py Install packages from: - PyPI (and other indexes) using requirement specifiers. - VCS project urls. - Local project directories. - Local or remote source archives. pip also supports installing from "requirements files", which provide an easy way to specify a whole environment to be installed. 29390
list.py Give the distribution object a couple of extra fields. These will be populated during ``get_outdated()``. This is dirty but makes the rest of the code much cleaner. 12769
search.py Search for PyPI packages whose name or summary contains <query>. 5626
show.py Show information about one or more installed packages. The output is in RFC-compliant mail header format. 7857
uninstall.py Uninstall packages. pip is able to uninstall most installed packages. Known exceptions are: - Pure distutils packages installed with ``python setup.py install``, which leave behind no metadata to determine what files were installed. - Script wrappers installed by ``python setup.py develop``. 3892
wheel.py Build Wheel archives for your requirements and dependencies. Wheel is a built-package format, and offers the advantage of not recompiling your software during every install. For more details, see the wheel docs: https://wheel.readthedocs.io/en/latest/ 'pip wheel' uses the build system interface as described here: https://pip.pypa.io/en/stable/reference/build-system/ 6414