$95 GRAYBYTE WORDPRESS FILE MANAGER $49

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

/usr/lib/python3.8/site-packages/pip/_internal/models/

HOME
Current File : /usr/lib/python3.8/site-packages/pip/_internal/models//candidate.py
# The following comment should be removed at some point in the future.
# mypy: disallow-untyped-defs=False

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
    from typing import Any


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

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

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

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

    def __str__(self):
        return '{!r} candidate (version {} at {})'.format(
            self.project, self.version, self.link,
        )


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
21 Mar 2024 10.19 AM
root / root
0755
__pycache__
--
21 Mar 2024 10.19 AM
root / root
0755
__init__.py
0.062 KB
17 Oct 2023 6.30 PM
root / root
0644
candidate.py
1.247 KB
17 Oct 2023 6.30 PM
root / root
0644
format_control.py
2.531 KB
17 Oct 2023 6.30 PM
root / root
0644
index.py
1.035 KB
17 Oct 2023 6.30 PM
root / root
0644
link.py
6.699 KB
17 Oct 2023 6.30 PM
root / root
0644
search_scope.py
3.878 KB
17 Oct 2023 6.30 PM
root / root
0644
selection_prefs.py
1.863 KB
17 Oct 2023 6.30 PM
root / root
0644
target_python.py
3.73 KB
17 Oct 2023 6.30 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF