[python-nl] Building a plugin enable application

Martijn Pieters mj at python.org
Fri Aug 18 10:39:23 CEST 2006


Jan Ripke wrote:
> Where can i find documentation and or (simple) examples on how to
> build a plugin enabled engine, wriiten in Python, which can
> incorporate Python plugin code.

We praten over het algemeen gewoon Nederlands op de Python-NL lijst.. :)

Ik zou op de Python Package Index (PyPI) kijken:

  http://cheeseshop.python.org/pypi

Daar zoeken op 'plugin' levert o.a. op:

  PlugBoard 0.2
  An application framework to create plugin-based applications
  http://cheeseshop.python.org/pypi/PlugBoard/0.2

Echter, Python's introspectie en flexibiliteit maken het erg makkelijk
om zelf een plugin systeem te maken. PyMP'd, bijvoorbeeld, heeft zijn
eigen code hiervoor:

http://svn.sourceforge.net/viewvc/pympd/trunk/pympd/src/modules/pympdriver.py?revision=203&view=markup#l_2622

Quod Libet/Ex Falso net zo:

http://www.sacredchao.net/quodlibet/browser/trunk/quodlibet/plugins/__init__.py


HHD (Hopelijk Help Dit),

Martijn Pieters


More information about the Python-nl mailing list