class_docstr: A registry for plugins.
  
  This is a plugin registry that allows plugins to be loaded/registered
  in two ways:
  
  1. Through an explicit call to ``.register(name, value)``.
  2. By looking for other Python packages that are installed and provide
     a setuptools entry point group.
  
  When you create an instance of this class, provide the name of the
  entry point group to use::
  
      reg = PluginRegister('my_entrypoint_group')
class_docstr_tok: ["A","registry","for","plugins",".","This","is","a","plugin","registry","that","allows","plugins","to","be","loaded\/registered","in","two","ways",":","1",".","Through","an","explicit","call","to","``",".register","(","name",",","value",")","``",".","2",".","By","looking","for","other","Python","packages","that","are","installed","and","provide","a","setuptools","entry","point","group",".","When","you","create","an","instance","of","this","class",",","provide","the","name","of","the","entry","point","group","to","use",":",":","reg","=","PluginRegister","(","'my_entrypoint_group","'",")"]
code: def __repr__(self) -> str:
      return "{}(active={!r}, registered={!r})" "".format(
          self.__class__.__name__, self._active_name, list(self.names())
      )
  
imports: from typing import Any, Dict, List, Optional, Generic, TypeVar, cast
  from types import TracebackType
  from importlib.metadata import entry_points
  from toolz import curry
label_desc: Use image node_id 11 for calling the PluginRegistry obj's underlying member method code with example usage: obj.__repr__() and returns: str