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/framework.py

"""
Generic framework path manipulation
"""

import re

__all__ = ['framework_info']

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

def framework_info(filename):
    """
    A framework name can take one of the following four forms:
        Location/Name.framework/Versions/SomeVersion/Name_Suffix
        Location/Name.framework/Versions/SomeVersion/Name
        Location/Name.framework/Name_Suffix
        Location/Name.framework/Name

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

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

SILENT KILLER Tool