REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 944 B
Close
/opt/hc_python/lib64/python3.12/site-packages/pip/_internal/models/direct_url.py
Text
Base64
"""PEP 610""" from __future__ import annotations import json from typing import Any from pip._vendor.packaging.direct_url import ( ArchiveInfo, DirectUrlValidationError, DirInfo, VcsInfo, ) from pip._vendor.packaging.direct_url import ( DirectUrl as PackagingDirectUrl, ) __all__ = [ "ArchiveInfo", "DirInfo", "DirectUrl", "DirectUrlValidationError", "DIRECT_URL_METADATA_NAME", "VcsInfo", ] DIRECT_URL_METADATA_NAME = "direct_url.json" class DirectUrl(PackagingDirectUrl): def to_dict_compat(self) -> dict[str, Any]: return dict(super().to_dict(generate_legacy_hash=True)) @classmethod def from_json(cls, s: str) -> DirectUrl: return cls.from_dict(json.loads(s)) def to_json(self) -> str: return json.dumps(self.to_dict_compat(), sort_keys=True) def is_local_editable(self) -> bool: return bool(self.dir_info and self.dir_info.editable)
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 13
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
__pycache__
DIR
-
drwxr-xr-x
2026-06-11 06:30:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
candidate.py
720 B
lrw-r--r--
2026-06-11 06:30:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
direct_url.py
944 B
lrw-r--r--
2026-06-11 06:30:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
format_control.py
2.41 KB
lrw-r--r--
2026-06-11 06:30:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
index.py
1.01 KB
lrw-r--r--
2026-06-11 06:30:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
installation_report.py
2.78 KB
lrw-r--r--
2026-06-11 06:30:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
link.py
21.48 KB
lrw-r--r--
2026-06-11 06:30:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
release_control.py
3.29 KB
lrw-r--r--
2026-06-11 06:30:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
scheme.py
558 B
lrw-r--r--
2026-06-11 06:30:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
search_scope.py
4.36 KB
lrw-r--r--
2026-06-11 06:30:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
selection_prefs.py
1.47 KB
lrw-r--r--
2026-06-11 06:30:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
target_python.py
4.14 KB
lrw-r--r--
2026-06-11 06:30:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
wheel.py
2.85 KB
lrw-r--r--
2026-06-11 06:30:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
__init__.py
62 B
lrw-r--r--
2026-06-11 06:30:20
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).