$31 GRAYBYTE WORDPRESS FILE MANAGER $31

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.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/

HOME
Current File : /opt/imunify360/venv/lib/python3.11/site-packages/setuptools//_reqs.py
from functools import lru_cache
from typing import Callable, Iterable, Iterator, TypeVar, Union, overload

import setuptools.extern.jaraco.text as text
from setuptools.extern.packaging.requirements import Requirement

_T = TypeVar("_T")
_StrOrIter = Union[str, Iterable[str]]


parse_req: Callable[[str], Requirement] = lru_cache()(Requirement)
# Setuptools parses the same requirement many times
# (e.g. first for validation than for normalisation),
# so it might be worth to cache.


def parse_strings(strs: _StrOrIter) -> Iterator[str]:
    """
    Yield requirement strings for each specification in `strs`.

    `strs` must be a string, or a (possibly-nested) iterable thereof.
    """
    return text.join_continuation(map(text.drop_comment, text.yield_lines(strs)))


@overload
def parse(strs: _StrOrIter) -> Iterator[Requirement]:
    ...


@overload
def parse(strs: _StrOrIter, parser: Callable[[str], _T]) -> Iterator[_T]:
    ...


def parse(strs, parser=parse_req):
    """
    Replacement for ``pkg_resources.parse_requirements`` that uses ``packaging``.
    """
    return map(parser, parse_strings(strs))


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2026 8.59 AM
root / root
0755
__pycache__
--
3 Mar 2026 8.59 AM
root / root
0755
_distutils
--
3 Mar 2026 8.59 AM
root / root
0755
_vendor
--
3 Mar 2026 8.59 AM
root / root
0755
command
--
3 Mar 2026 8.59 AM
root / root
0755
config
--
3 Mar 2026 8.59 AM
root / root
0755
extern
--
3 Mar 2026 8.59 AM
root / root
0755
__init__.py
8.998 KB
13 Feb 2026 12.40 PM
root / root
0644
_core_metadata.py
8.712 KB
13 Feb 2026 12.40 PM
root / root
0644
_entry_points.py
2.183 KB
13 Feb 2026 12.40 PM
root / root
0644
_imp.py
2.376 KB
13 Feb 2026 12.40 PM
root / root
0644
_importlib.py
1.434 KB
13 Feb 2026 12.40 PM
root / root
0644
_itertools.py
0.659 KB
13 Feb 2026 12.40 PM
root / root
0644
_normalization.py
4.115 KB
13 Feb 2026 12.40 PM
root / root
0644
_path.py
1.031 KB
13 Feb 2026 12.40 PM
root / root
0644
_reqs.py
1.094 KB
13 Feb 2026 12.40 PM
root / root
0644
archive_util.py
7.159 KB
13 Feb 2026 12.40 PM
root / root
0644
build_meta.py
18.232 KB
13 Feb 2026 12.40 PM
root / root
0644
cli-32.exe
11.5 KB
13 Feb 2026 12.40 PM
root / root
0644
cli-64.exe
14 KB
13 Feb 2026 12.40 PM
root / root
0644
cli-arm64.exe
13.5 KB
13 Feb 2026 12.40 PM
root / root
0644
cli.exe
11.5 KB
13 Feb 2026 12.40 PM
root / root
0644
dep_util.py
0.644 KB
13 Feb 2026 12.40 PM
root / root
0644
depends.py
5.451 KB
13 Feb 2026 12.40 PM
root / root
0644
discovery.py
20.651 KB
13 Feb 2026 12.40 PM
root / root
0644
dist.py
36.333 KB
13 Feb 2026 12.40 PM
root / root
0644
errors.py
2.606 KB
13 Feb 2026 12.40 PM
root / root
0644
extension.py
5.46 KB
13 Feb 2026 12.40 PM
root / root
0644
glob.py
4.754 KB
13 Feb 2026 12.40 PM
root / root
0644
gui-32.exe
11.5 KB
13 Feb 2026 12.40 PM
root / root
0644
gui-64.exe
14 KB
13 Feb 2026 12.40 PM
root / root
0644
gui-arm64.exe
13.5 KB
13 Feb 2026 12.40 PM
root / root
0644
gui.exe
11.5 KB
13 Feb 2026 12.40 PM
root / root
0644
installer.py
4.872 KB
13 Feb 2026 12.40 PM
root / root
0644
launch.py
0.793 KB
13 Feb 2026 12.40 PM
root / root
0644
logging.py
1.21 KB
13 Feb 2026 12.40 PM
root / root
0644
modified.py
0.186 KB
13 Feb 2026 12.40 PM
root / root
0644
monkey.py
4.671 KB
13 Feb 2026 12.40 PM
root / root
0644
msvc.py
46.311 KB
13 Feb 2026 12.40 PM
root / root
0644
namespaces.py
3.001 KB
13 Feb 2026 12.40 PM
root / root
0644
package_index.py
37.446 KB
13 Feb 2026 12.40 PM
root / root
0644
py312compat.py
0.322 KB
13 Feb 2026 12.40 PM
root / root
0644
sandbox.py
14.013 KB
13 Feb 2026 12.40 PM
root / root
0644
script (dev).tmpl
0.213 KB
13 Feb 2026 12.40 PM
root / root
0644
script.tmpl
0.135 KB
13 Feb 2026 12.40 PM
root / root
0644
unicode_utils.py
0.919 KB
13 Feb 2026 12.40 PM
root / root
0644
version.py
0.157 KB
13 Feb 2026 12.40 PM
root / root
0644
warnings.py
3.61 KB
13 Feb 2026 12.40 PM
root / root
0644
wheel.py
8.426 KB
13 Feb 2026 12.40 PM
root / root
0644
windows_support.py
0.703 KB
13 Feb 2026 12.40 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF