Name Description Size
__init__.py A package that contains models that represent entities. 63
candidate.py Represents a potential "candidate" for installation. 753
direct_url.py PEP 610 6578
format_control.py Helper for managing formats from which a package can be installed. 2486
index.py Represents a Package Index and provides easier access to endpoints 1030
installation_report.py 2818
link.py Links to content may have embedded hash values. This class parses those. `name` must be any member of `_SUPPORTED_HASHES`. This class can be converted to and from `ArchiveInfo`. While ArchiveInfo intends to be JSON-serializable to conform to PEP 610, this class contains the logic for parsing a hash name and value for correctness, and then checking whether that hash conforms to a schema with `.is_hash_allowed()`. 21448
scheme.py For types associated with installation schemes. For a general overview of available schemes and their context, see https://docs.python.org/3/install/index.html#alternate-installation. 575
search_scope.py Encapsulates the locations that pip is configured to search. 4531
selection_prefs.py Encapsulates the candidate selection preferences for downloading and installing files. 2015
target_python.py Encapsulates the properties of a Python interpreter one is targeting for a package install, download, etc. 4271
wheel.py Represents a wheel file and provides access to the various parts of the name that have meaning. 4539