PATH:
opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
setuptools
from setuptools.extern.more_itertools import consume # noqa: F401 # copied from jaraco.itertools 6.1 def ensure_unique(iterable, key=lambda x: x): """ Wrap an iterable to raise a ValueError if non-unique values are encountered. >>> list(ensure_unique('abc')) ['a', 'b', 'c'] >>> consume(ensure_unique('abca')) Traceback (most recent call last): ... ValueError: Duplicate element 'a' encountered. """ seen = set() seen_add = seen.add for element in iterable: k = key(element) if k in seen: raise ValueError(f"Duplicate element {element!r} encountered.") seen_add(k) yield element
[-] errors.py
[edit]
[-] sandbox.py
[edit]
[-] _path.py
[edit]
[-] depends.py
[edit]
[-] _reqs.py
[edit]
[-] cli.exe
[edit]
[-] cli-64.exe
[edit]
[+]
..
[-] gui-arm64.exe
[edit]
[-] warnings.py
[edit]
[-] gui.exe
[edit]
[+]
extern
[-] gui-64.exe
[edit]
[-] script.tmpl
[edit]
[-] package_index.py
[edit]
[+]
_distutils
[-] windows_support.py
[edit]
[-] modified.py
[edit]
[-] glob.py
[edit]
[-] _imp.py
[edit]
[-] wheel.py
[edit]
[-] launch.py
[edit]
[-] dist.py
[edit]
[+]
_vendor
[-] cli-32.exe
[edit]
[+]
__pycache__
[-] py312compat.py
[edit]
[-] installer.py
[edit]
[-] msvc.py
[edit]
[-] archive_util.py
[edit]
[-] _normalization.py
[edit]
[-] discovery.py
[edit]
[-] monkey.py
[edit]
[+]
config
[-] _entry_points.py
[edit]
[-] version.py
[edit]
[-] _core_metadata.py
[edit]
[-] _itertools.py
[edit]
[-] logging.py
[edit]
[-] gui-32.exe
[edit]
[-] unicode_utils.py
[edit]
[-] namespaces.py
[edit]
[-] build_meta.py
[edit]
[-] __init__.py
[edit]
[-] cli-arm64.exe
[edit]
[+]
command
[-] script (dev).tmpl
[edit]
[-] _importlib.py
[edit]
[-] dep_util.py
[edit]
[-] extension.py
[edit]