I saw that there are python bindings for libindicate. They’re called “python-indicate”.
There’s also a wiki about this new feature from Ubuntu. I thought about creating a plugin for weechat that uses this library. Especially because the notify-plugins is useless if you’re away and somebody mentions you on irc. Libindicate would be perfect for this. First have to find out how the behaviour of the applet would be.
[update] I asked my question on the libindicate launchpad so I’m very curious about the answer(s). [/update]