Skip to content

A simple python bayeux client that connects to server using Bayeux protocol and allows for users to receive data published by the server

License

Notifications You must be signed in to change notification settings

jkarneges/python-bayeux-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-bayeux-client

A simple python bayeux client that connects to a server using the Bayeux protocol and allows for users to receive data published by the server.

Usage


from bayeux.bayeux_client import BayeuxClient
def cb(data):
  print(data)
bc = BayeuxClient('http://localhost:8080/cometd')
bc.register('/foo/bar', cb)
bc.register('/foo/baz', cb)
bc.start()

Dependencies

Twisted (http://twistedmatrix.com/trac/)
zope.interface (https://pypi.python.org/pypi/zope.interface#download)

About

A simple python bayeux client that connects to server using Bayeux protocol and allows for users to receive data published by the server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%