HEX
Server: Apache
System: Linux zacp120.webway.host 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
User: govancoz (1003)
PHP: 8.3.26
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: //usr/local/lib/python3.7/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-37.pyc
B

L��g
�@s@dZdZdZdZdZdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dS)a
    pygments.plugin
    ~~~~~~~~~~~~~~~

    Pygments plugin interface. By default, this tries to use
    ``importlib.metadata``, which is in the Python standard
    library since Python 3.8, or its ``importlib_metadata``
    backport for earlier versions of Python. It falls back on
    ``pkg_resources`` if not found. Finally, if ``pkg_resources``
    is not found either, no plugins are loaded at all.

    lexer plugins::

        [pygments.lexers]
        yourlexer = yourmodule:YourLexer

    formatter plugins::

        [pygments.formatters]
        yourformatter = yourformatter:YourFormatter
        /.ext = yourformatter:YourFormatter

    As you can see, you can define extensions for the formatter
    with a leading slash.

    syntax plugins::

        [pygments.styles]
        yourstyle = yourstyle:YourStyle

    filter plugin::

        [pygments.filter]
        yourfilter = yourfilter:YourFilter


    :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS.
    :license: BSD, see LICENSE for details.
zpygments.lexerszpygments.formatterszpygments.styleszpygments.filterscCs�yddlm}Wnltk
r|yddlm}WnFtk
rvyddlm}Wnttfk
rhgSX||�SYnXYnX|�}t|d�r�|j|d�S|�	|g�SdS)N�)�entry_points)�iter_entry_points�select)�group)
Zimportlib.metadatar�ImportErrorZimportlib_metadataZpip._vendor.pkg_resourcesr�OSError�hasattrr�get)Z
group_namerr�groups�r�?/tmp/pip-unpacked-wheel-hv55ucu3/pip/_vendor/pygments/plugin.pyr/s
rccs xtt�D]}|��Vq
WdS)N)r�LEXER_ENTRY_POINT�load)�
entrypointrrr�find_plugin_lexersGsrccs&x tt�D]}|j|��fVq
WdS)N)r�FORMATTER_ENTRY_POINT�namer)rrrr�find_plugin_formattersLsrccs&x tt�D]}|j|��fVq
WdS)N)r�STYLE_ENTRY_POINTrr)rrrr�find_plugin_stylesQsrccs&x tt�D]}|j|��fVq
WdS)N)r�FILTER_ENTRY_POINTrr)rrrr�find_plugin_filtersVsrN)
�__doc__r
rrrrrrrrrrrr�<module>'s