Work in progress....

Sapo Codebits 2008: First Project – irnotify

Posted: November 14th, 2008 | Author: lrei | Filed under: Programming, Python | Tags: , , | Comments Off

The first project I’ve made (well technically second since it’s a support lib for another project) is now available (via SVN) at google code – irnotify.

A python library for making notifications. Currently implements notifications via XMPP (Jabber), SMTP (Mail) and Twitter direct messages.

Here’s the example code:

Twitter DM

from twitternotify import TwitterNotify
n = TwitterNotify("twitter.conf")
n.notify("lrei", "How do you feel, Rei?")

XMPP message

from xmppnotify import XMPPNotify
n = XMPPNotify("xmpp.conf")
n.notify("luis.rei@gmail.com", "How do you feel, Rei?")


Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Reddit
  • StumbleUpon
  • Technorati
  • email
  • Twitter
Creative Commons License
This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution 3.0 Unported License.

Related posts:

  1. Sapo Codebits 2007 – The Summary Part 1
  2. Sapo Codebits AKA Free Food
  3. Codebits 2008


Comments are closed.