|e 6dZdZdZdZdZdZdZdZdZd Z y ) 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.filtersc" ddlm}|}t|dr|j|S|j|gS#t$rF ddlm}n;#t$r/ ddlm}||cYcYS#tt f$r gcYcYcYSwxYwwxYwYwxYw)N) entry_points)iter_entry_pointsselect)group) importlib.metadatar ImportErrorimportlib_metadata pkg_resourcesrOSErrorhasattrrget) group_namerrgroupss 1/usr/lib/python3/dist-packages/pygments/plugin.pyrr/s 53^Fvx }}:}..zz*b))%  5 5 7 5 5;)44 )    5 8 5sW? B AB BA, B(B,B=B?BBBB Bc#XKttD]}|jywN)rLEXER_ENTRY_POINTload entrypoints rfind_plugin_lexersrGs('(9: oo s(*c#pKttD] }|j|jf"ywr)rFORMATTER_ENTRY_POINTnamerrs rfind_plugin_formattersrLs1'(=>1 ooz000146c#pKttD] }|j|jf"ywr)rSTYLE_ENTRY_POINTrrrs rfind_plugin_stylesr Qs1'(9:1 ooz0001rc#pKttD] }|j|jf"ywr)rFILTER_ENTRY_POINTrrrs rfind_plugin_filtersr#Vs1'(:;1 ooz0001rN) __doc__rrrr"rrrr r#rr's>&P&-%'*0 1 1 1r&