Python client for the reaktor.io notification service.
Project description
==========
PyReaktor 0.1.0
==========
Python client for the reaktor.io notification service.
Sign in for your reaktor account on http://reaktor.io.
Installation
----------
pip install pyreaktor
Usage
----------
Typical usage looks like this:
from reaktor import *
# connect to reaktor with your mail/password combination
reaktor = Reaktor("test@test.de", "test")
# trigger "Test" event
d = {
"name": "Test"
}
ok = reaktor.trigger("Test", data=d, safe=True)
The **safe** parameter is optional and garantuees that the trigger function waits till the event was triggered and returns only *ok: True* if everything performed well.
Otherwise trigger will always return *ok: True* immediatly.
PyReaktor 0.1.0
==========
Python client for the reaktor.io notification service.
Sign in for your reaktor account on http://reaktor.io.
Installation
----------
pip install pyreaktor
Usage
----------
Typical usage looks like this:
from reaktor import *
# connect to reaktor with your mail/password combination
reaktor = Reaktor("test@test.de", "test")
# trigger "Test" event
d = {
"name": "Test"
}
ok = reaktor.trigger("Test", data=d, safe=True)
The **safe** parameter is optional and garantuees that the trigger function waits till the event was triggered and returns only *ok: True* if everything performed well.
Otherwise trigger will always return *ok: True* immediatly.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyReaktor-0.1.0.tar.gz
(2.4 kB
view hashes)