Vakhshour
=========
Event Layer and Message layer application.
Requirements:
pyOpenSSL
Twisted
pyCrypto
Usage:
======
1. Running master server:
Running the master server is very easy:
$ vakhshourd
'vakhshourd' use the '/etc/vakhshour/vakhshour.json' as its configuration file.
Take a look at configurations comments.
Take a look at the --help parameter of 'vakhshourd'.
2. Sending Events:
Here is a sample code:
from vakhshour.base import Node, Event
a = Node(host="x.x.x.", port="8888")
event = Event(name="logout", sender="someservice",
user="lxsameer")
a.send(event)
NOTE: user parameter for Event class is a logout event parameter.
=========
Event Layer and Message layer application.
Requirements:
pyOpenSSL
Twisted
pyCrypto
Usage:
======
1. Running master server:
Running the master server is very easy:
$ vakhshourd
'vakhshourd' use the '/etc/vakhshour/vakhshour.json' as its configuration file.
Take a look at configurations comments.
Take a look at the --help parameter of 'vakhshourd'.
2. Sending Events:
Here is a sample code:
from vakhshour.base import Node, Event
a = Node(host="x.x.x.", port="8888")
event = Event(name="logout", sender="someservice",
user="lxsameer")
a.send(event)
NOTE: user parameter for Event class is a logout event parameter.
Metadata
Release files for Vakhshour 0.91.47
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| Vakhshour-0.91.47.tar.gz | 222.5 kB | Details |
Release files / Vakhshour-0.91.47.tar.gz
| Download URL | Vakhshour-0.91.47.tar.gz |
|---|---|
| Size | 222.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e243ac0b21e3972842a45d61e28772a196a933b10dde63575cf9b0586e6f2b00
|
|
BLAKE2b-256 checksum How to use checksums |
58a648caea96ee07cb1e8832f7d810f2a563656573caf297306ab1c5c0805663
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |