Python plug-in framework

Dear all,

In the field I’m working in we often develop small applications which are used in our daily work (end-to-end testing and integration of video platforms).

Although wxpython provides an excellent basis for such tools, it becomes more and more clear that having a “bunch” of separate applications limits the efficiency of the work.

As such it would be better to have all separate small applications bound into a bigger integrated test-platform.

A sort of plug-in framework would really contribute to get to this solution. The goal would be to have the possibility to have the plugins as a standalone (small) applications and also provide a mechanism to have them loaded as a real plugin in an application framework.

One solution would be for example that the plugin is loaded in an application framework where the plugins are loaded as sub-applications in a separate tab-page of the application framework.

I guess that the wxPython Demo application may in a similar way, providing each demo as a separate item in a treectrl.

So, before re-inventing the wheel: Is there already such a plugin-framework available in wxPython?

Best regards,

Tom.

Tom,

A great example of a framework already in use in a wx applicaiton is
the Editra plugin framework. It uses setuptools as well but relies on
interfaces rather than duck typing. I would maybe use that code as
the starting point. I have a framework I use internally, but it is
not tied to wx in any way which made it very easy to TDD. What I
would also take a look at is Andrea's AUI implementation for the GUI
portion.

Regards,

Nate

···

On Mon, Apr 20, 2009 at 10:51, Tom Clerckx <tclerckx@gmail.com> wrote:

Dear all,

In the field I'm working in we often develop small applications which are
used in our daily work (end-to-end testing and integration of video
platforms).

Although wxpython provides an excellent basis for such tools, it becomes
more and more clear that having a "bunch" of separate applications limits
the efficiency of the work.

As such it would be better to have all separate small applications bound
into a bigger integrated test-platform.
A sort of plug-in framework would really contribute to get to this solution.
The goal would be to have the possibility to have the plugins as a
standalone (small) applications and also provide a mechanism to have them
loaded as a real plugin in an application framework.

One solution would be for example that the plugin is loaded in an
application framework where the plugins are loaded as sub-applications in a
separate tab-page of the application framework.
I guess that the wxPython Demo application may in a similar way, providing
each demo as a separate item in a treectrl.

So, before re-inventing the wheel: Is there already such a plugin-framework
available in wxPython?

Best regards,
Tom.
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

hi Tom,

of course as you mentioned, the wxPython demo is a great eaxmple

Tom Clerckx wrote:

Dear all,
In the field I'm working in we often develop small applications which are used in our daily work (end-to-end testing and integration of video platforms).
Although wxpython provides an excellent basis for such tools, it becomes more and more clear that having a "bunch" of separate applications limits the efficiency of the work.
As such it would be better to have all separate small applications bound into a bigger integrated test-platform.
A sort of plug-in framework would really contribute to get to this solution. The goal would be to have the possibility to have the plugins as a standalone (small) applications and also provide a mechanism to have them loaded as a real plugin in an application framework.
One solution would be for example that the plugin is loaded in an application framework where the plugins are loaded as sub-applications in a separate tab-page of the application framework.
I guess that the wxPython Demo application may in a similar way, providing each demo as a separate item in a treectrl.
So, before re-inventing the wheel: Is there already such a plugin-framework available in wxPython?

Maybe PyLab_Works is such a framework,
or even some of the applications made with PyLab_Works,
at least it might give you some inspiration:

http://mientki.ruhosting.nl/data_www/pylab_works/pw_launch_center.html
The demos and test paragraph on this page are also self organizing environments.

Signal_WorkBench is an application made with PyLab_Works,
that can concatenate code snippets through a tree.
http://mientki.ruhosting.nl/data_www/pylab_works/pw_signal_workbench.html

and here a practical example of the use of Signal_WrokBench
http://mientki.ruhosting.nl/data_www/pylab_works/pw_filter_design.html

The VPython collection is another application made with PyLab_Works,
that organizes a collection of VPython applications
http://mientki.ruhosting.nl/data_www/pylab_works/pw_application_vpython3.html

There's no official release yet, but I'm preparing one right now
and need one or two weeks to complete.
More documentation can be found at
http://pic.flappie.nl/

cheers,
Stef

···

Best regards,
Tom.
------------------------------------------------------------------------

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

In the field I'm working in we often develop small applications which are
used in our daily work (end-to-end testing and integration of video
platforms).

Although wxpython provides an excellent basis for such tools, it becomes
more and more clear that having a "bunch" of separate applications limits
the efficiency of the work.

I'd check out Enthought's Envisage:

http://code.enthought.com/projects/envisage/

  and Dabo's Springboard:

http://us.pycon.org/2009/conference/schedule/event/58/

They are totally different beasts, but both have something that may help you.

-Chris

···

As such it would be better to have all separate small applications bound
into a bigger integrated test-platform.
A sort of plug-in framework would really contribute to get to this solution.
The goal would be to have the possibility to have the plugins as a
standalone (small) applications and also provide a mechanism to have them
loaded as a real plugin in an application framework.

One solution would be for example that the plugin is loaded in an
application framework where the plugins are loaded as sub-applications in a
separate tab-page of the application framework.
I guess that the wxPython Demo application may in a similar way, providing
each demo as a separate item in a treectrl.

So, before re-inventing the wheel: Is there already such a plugin-framework
available in wxPython?

Best regards,
Tom.
_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

_______________________________________________
wxpython-users mailing list
wxpython-users@lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wxpython-users

--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

Chris.Barker@noaa.gov