The PyKDE Components Framework

Author: David Boddie
Date: 2005-03-17

Note: This text is marked up using reStructuredText formatting. It should be readable in a text editor but can be processed to produce versions of this document in other formats.

Contents

Introduction

The PyQt and PyKDE bindings for the Qt and KDE frameworks provide great assistance for application and tool developers. However, the role of Python within each framework need not end at the application level: since the underlying C++ objects and their Python counterparts are closely bound, improvements to KDE's infrastructure can be made in the form of Python library-based components.

In order to provide this level of interaction at the library level, it is necessary to deploy an embedded Python interpreter within a Qt or KDE application. Such an interpreter can interact with the application and surrounding framework in much the same way as an ordinary Python application; only the means of deploying Python in an embedded form is a barrier to its use in this manner.

Recently, various solutions to this problem have become available thanks to collaborative work by participants on the PyKDE mailing list. In particular, work by Jim Bublitz on embedding Python in shared library form has allowed a variety of components to be written in Python and successfully used alongside components written in C++ and other languages.

Please see the accompanying installation instructions for more information about installing them.

Available components

Three types of components can be written using the framework supplied with this release:

The components for Control Centre modules and panel applets that were formerly supported by this framework are now maintained separately by other developers.

Feedback

Please provide feedback to the author about any problems with the framework.