OXIESEC PANEL
- Current Dir:
/
/
snap
/
certbot
/
4730
/
lib
/
python3.12
/
site-packages
/
setuptools
/
_vendor
/
importlib_metadata
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/10/2025 09:51:14 PM
rwxr-xr-x
📄
__init__.py
33.01 KB
06/10/2025 09:50:49 PM
rw-r--r--
📁
__pycache__
-
06/10/2025 09:51:14 PM
rwxr-xr-x
📄
_adapters.py
2.26 KB
06/10/2025 09:50:49 PM
rw-r--r--
📄
_collections.py
743 bytes
06/10/2025 09:50:49 PM
rw-r--r--
📄
_compat.py
1.28 KB
06/10/2025 09:50:49 PM
rw-r--r--
📄
_functools.py
2.83 KB
06/10/2025 09:50:49 PM
rw-r--r--
📄
_itertools.py
2.02 KB
06/10/2025 09:50:49 PM
rw-r--r--
📄
_meta.py
1.76 KB
06/10/2025 09:50:49 PM
rw-r--r--
📄
_text.py
2.12 KB
06/10/2025 09:50:49 PM
rw-r--r--
📁
compat
-
06/10/2025 09:51:14 PM
rwxr-xr-x
📄
diagnose.py
379 bytes
06/10/2025 09:50:49 PM
rw-r--r--
📄
py.typed
0 bytes
06/10/2025 09:50:49 PM
rw-r--r--
Editing: _meta.py
Close
from __future__ import annotations import os from typing import Protocol from typing import Any, Dict, Iterator, List, Optional, TypeVar, Union, overload _T = TypeVar("_T") class PackageMetadata(Protocol): def __len__(self) -> int: ... # pragma: no cover def __contains__(self, item: str) -> bool: ... # pragma: no cover def __getitem__(self, key: str) -> str: ... # pragma: no cover def __iter__(self) -> Iterator[str]: ... # pragma: no cover @overload def get( self, name: str, failobj: None = None ) -> Optional[str]: ... # pragma: no cover @overload def get(self, name: str, failobj: _T) -> Union[str, _T]: ... # pragma: no cover # overload per python/importlib_metadata#435 @overload def get_all( self, name: str, failobj: None = None ) -> Optional[List[Any]]: ... # pragma: no cover @overload def get_all(self, name: str, failobj: _T) -> Union[List[Any], _T]: """ Return all values associated with a possibly multi-valued key. """ @property def json(self) -> Dict[str, Union[str, List[str]]]: """ A JSON-compatible form of the metadata. """ class SimplePath(Protocol): """ A minimal subset of pathlib.Path required by Distribution. """ def joinpath( self, other: Union[str, os.PathLike[str]] ) -> SimplePath: ... # pragma: no cover def __truediv__( self, other: Union[str, os.PathLike[str]] ) -> SimplePath: ... # pragma: no cover @property def parent(self) -> SimplePath: ... # pragma: no cover def read_text(self, encoding=None) -> str: ... # pragma: no cover def read_bytes(self) -> bytes: ... # pragma: no cover def exists(self) -> bool: ... # pragma: no cover