$67 GRAYBYTE WORDPRESS FILE MANAGER $33

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/models/

HOME
Current File : /opt/alt/python37/lib/python3.7/site-packages/pip/_internal/models//candidate.py
from pip._vendor.packaging.version import parse as parse_version

from pip._internal.utils.models import KeyBasedCompareMixin
from pip._internal.utils.typing import MYPY_CHECK_RUNNING

if MYPY_CHECK_RUNNING:
    from pip._vendor.packaging.version import _BaseVersion
    from pip._internal.models.link import Link


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

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

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

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

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

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


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.57 PM
root / linksafe
0755
__pycache__
--
3 Mar 2024 10.57 PM
root / linksafe
0755
__init__.py
0.062 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
candidate.py
1.167 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
direct_url.py
6.738 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
format_control.py
2.757 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
index.py
1.134 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
link.py
7.295 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
scheme.py
0.76 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
search_scope.py
4.64 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
selection_prefs.py
1.996 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
target_python.py
3.939 KB
13 Nov 2023 9.31 PM
root / linksafe
0644
wheel.py
2.707 KB
13 Nov 2023 9.31 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF