code: def get_formatter_by_name(_alias, **options):
      """
      Return an instance of a :class:`.Formatter` subclass that has `alias` in its
      aliases list. The formatter is given the `options` at its instantiation.
  
      Will raise :exc:`pygments.util.ClassNotFound` if no formatter with that
      alias is found.
      """
      cls = find_formatter_class(_alias)
      if cls is None:
          raise ClassNotFound("no formatter found for name %r" % _alias)
      return cls(**options)
  
file_path: catboost/contrib/python/Pygments/py3/pygments/formatters/__init__.py
imports: import re
  import sys
  import types
  import fnmatch
  from os.path import basename
  from pygments.formatters._mapping import FORMATTERS
  from pygments.plugin import find_plugin_formatters
  from pygments.util import ClassNotFound
label_desc: Use image node_id 5 for calling a global function with example usage: get_formatter_by_name(_alias) and returns: cls