Here is "Python EventFeed for Hammatan", it's basically the events view of swipe.nokia.com/designand is intended for third party developers to add their own content to this view.
This library allows you to post new events to the Harmattan Event Feed screen and receive callbacks when events are clicked. You can post updates about new items that are found and create other kinds of cool notifications 🙂
The Event Feed screen is available in MeeGo 1.2 Harmattan on the N950 and N9 - this library allows you to integrate Python code with it.
from eventfeed import EventFeedService, EventFeedItem service = EventFeedService('yourapp', 'Your App') icon = '/usr/share/yourapp/icons/example.png' item = EventFeedItem(icon, 'Hello World!') item.set_body('How are you today?') def on_item_clicked(): print 'the user clicked the item' item.set_custom_action(on_item_clicked) service.add_item(item)
The resulting event should look like this:
Documentation of the module can be found here:
Either use the web interface or clone directly via
git clone git://github.com/thp/python-eventfeed.git