API¶
Warning
The API is only meant to be used by plugins authors.
- class rez_pip.pip.T¶
alias of TypeVar(‘T’, ~rez_pip.pip.PackageInfo, ~rez_pip.pip.DownloadedArtifact)
- class rez_pip.pip.DownloadInfo(url: 'str', archive_info: 'ArchiveInfo')¶
-
- archive_info: ArchiveInfo¶
Archive information
- class rez_pip.pip.PackageInfo(download_info: DownloadInfo, is_direct: bool, requested: bool, metadata: Metadata)¶
Represents data returned by pip for a single package
- download_info: DownloadInfo¶
Download information
- class rez_pip.pip.PackageGroup(packages: tuple[T, ...])¶
-
A group of package. The order of packages and dists must be the same.
- dists: list[Distribution]¶
List of distributions
- class rez_pip.pip.DownloadedArtifact(download_info: DownloadInfo, is_direct: bool, requested: bool, metadata: Metadata, _localPath: str)¶
This is a subclass of
PackageInfo. It’s used to represent a local wheel. It is immutable so that we can clearly express immutability in plugins.