PyBus -- A Python Software Bus

Wim Lavrijsen · CERN Document Server (European Organization for Nuclear Research) · 2005

A software bus, just like its hardware equivalent, allows for the discovery, installation, configuration, loading, unloading, and run-time replacement of software components, as well as channeling of inter-component communication.Python, a popular open-source programming language, encourages a modular design on software written in it, but it offers little or no component functionality.However, the language and its interpreter provide sufficient hooks to implement a thin, integral layer of component support.This functionality can be presented to the developer in the form of a module, making it very easy to use.This paper describes a Python module, PYBUS, with which the concept of a "software bus" can be realized in Python.It demonstrates, within the context of the ATLAS software framework ATHENA, how PYBUS can be used for the installation and (run-time) configuration of software, not necessarily Python modules, from a Python application in a way that is transparent to the end-user.

Read the paper · More papers on PaperTik