[ Th3_Err0r Bypassed ]




Upload:

Command:

liwaavux@216.73.216.150: ~ $
from pip._vendor.packaging.version import parse as parse_version

from pip._internal.models.link import Link
from pip._internal.utils.models import KeyBasedCompareMixin


class InstallationCandidate(KeyBasedCompareMixin):
    """Represents a potential "candidate" for installation."""

    __slots__ = ["name", "version", "link"]

    def __init__(self, name: str, version: str, link: Link) -> None:
        self.name = name
        self.version = parse_version(version)
        self.link = link

        super().__init__(
            key=(self.name, self.version, self.link),
            defining_class=InstallationCandidate,
        )

    def __repr__(self) -> str:
        return "<InstallationCandidate({!r}, {!r}, {!r})>".format(
            self.name,
            self.version,
            self.link,
        )

    def __str__(self) -> str:
        return "{!r} candidate (version {} at {})".format(
            self.name,
            self.version,
            self.link,
        )

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
__init__.py File 63 B 0644
candidate.py File 990 B 0644
direct_url.py File 6.2 KB 0644
format_control.py File 2.46 KB 0644
index.py File 1.01 KB 0644
link.py File 9.59 KB 0644
scheme.py File 738 B 0644
search_scope.py File 4.41 KB 0644
selection_prefs.py File 1.86 KB 0644
target_python.py File 3.77 KB 0644
wheel.py File 3.42 KB 0644