Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
setuptools /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2025-04-08 16:44
_distutils
[ DIR ]
drwxr-xr-x
2025-04-08 16:44
_vendor
[ DIR ]
drwxr-xr-x
2025-04-08 16:44
command
[ DIR ]
drwxr-xr-x
2025-04-08 16:44
config
[ DIR ]
drwxr-xr-x
2025-04-08 16:44
extern
[ DIR ]
drwxr-xr-x
2025-04-08 16:44
__init__.py
8.96
KB
-rw-r--r--
2023-01-20 19:58
_deprecation_warning.py
218
B
-rw-r--r--
2023-01-20 19:58
_entry_points.py
2.23
KB
-rw-r--r--
2023-01-20 19:58
_imp.py
2.34
KB
-rw-r--r--
2023-01-20 19:58
_importlib.py
1.28
KB
-rw-r--r--
2023-01-20 19:58
_itertools.py
675
B
-rw-r--r--
2023-01-20 19:58
_path.py
749
B
-rw-r--r--
2023-01-20 19:58
_reqs.py
501
B
-rw-r--r--
2023-01-20 19:58
archive_util.py
7.17
KB
-rw-r--r--
2023-01-20 19:58
build_meta.py
19.14
KB
-rw-r--r--
2023-01-20 19:58
dep_util.py
949
B
-rw-r--r--
2023-01-20 19:58
depends.py
5.37
KB
-rw-r--r--
2023-01-20 19:58
discovery.py
20.33
KB
-rw-r--r--
2023-01-20 19:58
dist.py
44.46
KB
-rw-r--r--
2024-12-31 00:08
errors.py
2.41
KB
-rw-r--r--
2023-01-20 19:58
extension.py
5.46
KB
-rw-r--r--
2023-01-20 19:58
glob.py
4.76
KB
-rw-r--r--
2023-01-20 19:58
installer.py
3.73
KB
-rw-r--r--
2023-01-20 19:58
launch.py
812
B
-rw-r--r--
2023-01-20 19:58
logging.py
1.2
KB
-rw-r--r--
2023-01-20 19:58
monkey.py
4.74
KB
-rw-r--r--
2023-01-20 19:58
msvc.py
46.61
KB
-rw-r--r--
2023-01-20 19:58
namespaces.py
3.02
KB
-rw-r--r--
2023-01-20 19:58
package_index.py
39.43
KB
-rw-r--r--
2024-12-31 00:08
py34compat.py
245
B
-rw-r--r--
2023-01-20 19:58
sandbox.py
14.01
KB
-rw-r--r--
2023-01-20 19:58
script (dev).tmpl
218
B
-rw-r--r--
2023-01-20 19:58
script.tmpl
138
B
-rw-r--r--
2023-01-20 19:58
unicode_utils.py
941
B
-rw-r--r--
2023-01-20 19:58
version.py
144
B
-rw-r--r--
2023-01-20 19:58
wheel.py
8.18
KB
-rw-r--r--
2023-01-20 19:58
windows_support.py
718
B
-rw-r--r--
2023-01-20 19:58
Save
Rename
import functools import operator import itertools from .errors import OptionError from .extern.jaraco.text import yield_lines from .extern.jaraco.functools import pass_none from ._importlib import metadata from ._itertools import ensure_unique from .extern.more_itertools import consume def ensure_valid(ep): """ Exercise one of the dynamic properties to trigger the pattern match. """ try: ep.extras except AttributeError as ex: msg = ( f"Problems to parse {ep}.\nPlease ensure entry-point follows the spec: " "https://packaging.python.org/en/latest/specifications/entry-points/" ) raise OptionError(msg) from ex def load_group(value, group): """ Given a value of an entry point or series of entry points, return each as an EntryPoint. """ # normalize to a single sequence of lines lines = yield_lines(value) text = f'[{group}]\n' + '\n'.join(lines) return metadata.EntryPoints._from_text(text) def by_group_and_name(ep): return ep.group, ep.name def validate(eps: metadata.EntryPoints): """ Ensure entry points are unique by group and name and validate each. """ consume(map(ensure_valid, ensure_unique(eps, key=by_group_and_name))) return eps @functools.singledispatch def load(eps): """ Given a Distribution.entry_points, produce EntryPoints. """ groups = itertools.chain.from_iterable( load_group(value, group) for group, value in eps.items()) return validate(metadata.EntryPoints(groups)) @load.register(str) def _(eps): r""" >>> ep, = load('[console_scripts]\nfoo=bar') >>> ep.group 'console_scripts' >>> ep.name 'foo' >>> ep.value 'bar' """ return validate(metadata.EntryPoints(metadata.EntryPoints._from_text(eps))) load.register(type(None), lambda x: x) @pass_none def render(eps: metadata.EntryPoints): by_group = operator.attrgetter('group') groups = itertools.groupby(sorted(eps, key=by_group), by_group) return '\n'.join( f'[{group}]\n{render_items(items)}\n' for group, items in groups ) def render_items(eps): return '\n'.join( f'{ep.name} = {ep.value}' for ep in sorted(eps) )