pyutilib组件体系结构。
pyutilib.component.core的Python项目详细描述
概述
这个python包提供了一个模块化组件框架,它 由以下核心类组成:
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. |
该框架的大纲改编自TRAC(参见 trac.core模块)。这个框架通过支持 组件的多环境管理,以及非单例 插件。对于熟悉trac的人,下面的类大致如下 相互对应:
Trac PyUtilib Interface Interface ExtensionPoint ExtensionPoint Component SingletonPlugin ComponentManager PluginEnvironment
请参阅The PyUtilib Component Architecture Reference Manual,以获取pyutilib组件的详细描述及其使用示例。
许可证
疯牛病。请参阅license.txt文件。
组织
- 目录
- pyutilib-pyutilib源代码的根目录
- 文档和错误跟踪
- 作者
- 请参阅authors.txt文件。
- 项目经理
- 威廉E.哈特,wehart@sandia.gov
- 邮件列表
- pyutilib-forum@googlegroups.com -帮助和公告的主列表
- pyutilib-developers@googlegroups.com -pyutilib的开发人员在这里讨论新功能
第三方软件
没有。