Custom global events in python

Hi,

I’m writing an application where I would allow user to add their scripts which would run when certain action (predefined) is performed.
These actions should be globally available.

For example:- I’ve “onNoteAdded” or “onStatusUpdated” predefined actions. User writes a script (“shoot mail”) which will be executed “onStatusUpdate” action.

Please suggest me which module should I use “pyDispatcher” or “pyQt” signals (my app is in pyqt)

Thanks in advance.
Rahul