Skip to content

superfeedr/sfpy

This branch is 20 commits ahead of, 15 commits behind dfdeshom/sfpy:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f782d0a · Sep 2, 2013

History

26 Commits
Jan 12, 2012
Apr 8, 2013
May 20, 2010
Jan 15, 2010
Jan 16, 2010

Repository files navigation

-- markdown -- This is sfpy, another Superfeedr XMPP API Python wrapper. You will need to install xmpppy to run it

Example:

from sfpy import SuperFeedr

def sf_message(event):
    print 'received this event: ', str(event)
    return 1


def main():
    user = 'user'
    password = 'password'
    s = SuperFeedr(user, password)
    s.on_notification(sf_message)
    s.monitor() 

if __name__=='__main__':
    main()

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%