471,119 Members | 1,362 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,119 software developers and data experts.

Designing Plug-in Systems in Python

Hello,

I need to design a plug-in system for a project. The goal is
to allow third party developers interact with an application
via plug-ins in a clean and robust manner. At this point I
am overwhelmed by my inexperience with designing plug-in
systems.

Are there any good tutorials on how to design good plug-in
systems with Python, or any language? What are the best
practices for designing plug-in systems in Python? How would
you go about designing one? What are common pitfalls in
designing one? Any pointers, suggestions, resources and
advice is welcome.

Thanks

May 6 '06 #1
3 1754
mystilleef wrote:
Hello,

I need to design a plug-in system for a project. The goal is
to allow third party developers interact with an application
via plug-ins in a clean and robust manner. At this point I
am overwhelmed by my inexperience with designing plug-in
systems.


One of these might be helpful:
http://developer.berlios.de/projects/plugboard/
http://termie.pbwiki.com/SprinklesPy

Kent
May 8 '06 #2
mystilleef wrote:

Are there any good tutorials on how to design good plug-in
systems with Python, or any language? What are the best
practices for designing plug-in systems in Python? How would
you go about designing one? What are common pitfalls in
designing one? Any pointers, suggestions, resources and
advice is welcome.


I am liking to use setuptools and its entry points. With this, your program
can check for a specific thing and load all modules that provides something
like "myapp.plugins".

Take a look at it.

--
Jorge Godoy <go***@ieee.org>

"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.
May 8 '06 #3
Thanks for the pointers.

May 8 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Kelvin | last post: by
4 posts views Thread by Brad Markisohn | last post: by
8 posts views Thread by pransri2006 | last post: by
reply views Thread by rexchirag1 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.