Skip to main content

The PyUtilib Component Architecture.

Project description


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.


BSD. See the LICENSE.txt file.


Third Party Software


Project details

Download files

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

Files for pyutilib.component.core, version 4.6.4
Filename, size File type Python version Upload date Hashes
Filename, size pyutilib.component.core-4.6.4.tar.gz (19.2 kB) File type Source Python version None Upload date Hashes View
Filename, size pyutilib.component.core-4.6.4-py2-none-any.whl (16.0 kB) File type Wheel Python version 2.7 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page