Skip to main content

The PyUtilib Component Architecture.

Project description

Overview

This 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 PyUtilib
Interface Interface
ExtensionPoint ExtensionPoint
Component SingletonPlugin
ComponentManager PluginEnvironment

See The PyUtilib Component Architecture Reference Manual for a detailed description of PyUtilib components and examples of their use.

License

BSD. See the LICENSE.txt file.

Organization

Third Party Software

None.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyutilib.component.core-4.6.4-py2-none-any.whl (16.0 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jun 1, 2014
pyutilib.component.core-4.6.4.tar.gz (19.2 kB) Copy SHA256 hash SHA256 Source None Jun 1, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page