pyutilib.component.core 4.4

Оценок пока нет — будьте первым

Описание

pyutilib.component.core is a Python package provides a modular component framework, which consists of the following core classes: Interface: Subclasses of this class declare component interfaces that are registered in the framework ExtensionPoint: A class used to declare extension points, which can access components with a particular interface Plugin: Subclasses of this class declare plugins, which can be used to provide services within this component framework. SingletonPlugin: Subclasses of this class declare singleton plugins, for which a single instance can be declared. PluginEnvironment: A class that maintains the registries for interfaces, extension points and components. PluginGlobals: A class that maintains global data concerning the set of environments that are currently being used. PluginError: The exception class that is raised when errors arise in this framework. The outline of this framework is adapted from Trac (see the trac.core module). This framework generalizes the Trac by supporting multi-environment management of components, as well as non-singleton plugins. For those familiar with Trac, the following classes roughly correspond with each other: Trac Interface ExtensionPoint Component ComponentManager PyUtilib Interface ExtensionPoint SingletonPlugin PluginEnvironment See The PyUtilib Component Architecture Reference Manual for a detailed description of PyUtilib components and examples of their use. Requirements:

Информация о программе

  • Категория: Другое
  • ОС: Linux
  • Скачиваний: 0
Скачать