GeezerVison is showing github.com — GitHub - miaekim/python-bayeux-client: A simple python bayeux client that connects to server using Bayeux protocol and allows for users to receive data published by the server
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
|
Repository files navigation
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.
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()
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
Stars
0 stars
Watchers
1 watching
Forks