SILENT KILLERPanel

Current Path: > > opt > alt > python313 > lib64 > > > python3.13 > ctypes > macholib


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python313/lib64///python3.13/ctypes/macholib

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
README.ctypes File 296 bytes June 11 2025 15:36:57.
__init__.py File 154 bytes June 23 2025 14:28:16.
dyld.py File 5024 bytes June 23 2025 14:28:16.
dylib.py File 960 bytes June 23 2025 14:28:16.
fetch_macholib File 84 bytes June 11 2025 15:36:57.
framework.py File 1105 bytes June 23 2025 14:28:16.

Reading File: //opt/alt/python313/lib64///python3.13/ctypes/macholib/dylib.py

"""
Generic dylib path manipulation
"""

import re

__all__ = ['dylib_info']

DYLIB_RE = re.compile(r"""(?x)
(?P<location>^.*)(?:^|/)
(?P<name>
    (?P<shortname>\w+?)
    (?:\.(?P<version>[^._]+))?
    (?:_(?P<suffix>[^._]+))?
    \.dylib$
)
""")

def dylib_info(filename):
    """
    A dylib name can take one of the following four forms:
        Location/Name.SomeVersion_Suffix.dylib
        Location/Name.SomeVersion.dylib
        Location/Name_Suffix.dylib
        Location/Name.dylib

    returns None if not found or a mapping equivalent to:
        dict(
            location='Location',
            name='Name.SomeVersion_Suffix.dylib',
            shortname='Name',
            version='SomeVersion',
            suffix='Suffix',
        )

    Note that SomeVersion and Suffix are optional and may be None
    if not present.
    """
    is_dylib = DYLIB_RE.match(filename)
    if not is_dylib:
        return None
    return is_dylib.groupdict()

SILENT KILLER Tool