Name: mozillapulse
Owner: Mozilla Services
Description: Python package for interacting with the Mozilla Pulse message system at pulse.mozilla.org
Created: 2017-06-13 21:32:23.0
Updated: 2017-08-01 15:30:07.0
Pushed: 2017-06-14 00:49:16.0
Homepage: null
Size: 66
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
MozillaPulse is a Python package for interacting with Mozilla Pulse. It contains classes for consumers, publishers, and messages.
In order to use a Mozilla Pulse consumer, you must register with PulseGuardian to create a Pulse user. Here's an example of creating a Buildbot consumer:
from mozillapulse.consumers import BuildConsumer
def callback(body, msg):
print 'Received message: %s' % body
c = BuildConsumer(user=<PulseGuardian user>,
password=<PulseGuardian password>,
topic='#',
callback=callback)
c.listen()
See the HACKING.md file for instructions on setting up a local Pulse instance for development.
If you want to run tests against this package:
pip install tox
vagrant up
tox